diff --git a/LunaMac.xcodeproj/project.pbxproj b/LunaMac.xcodeproj/project.pbxproj
index eba0128..75569d9 100644
--- a/LunaMac.xcodeproj/project.pbxproj
+++ b/LunaMac.xcodeproj/project.pbxproj
@@ -101,6 +101,11 @@
TargetAttributes = {
7ECD0D7728DD2A4100B90958 = {
CreatedOnToolsVersion = 10.3;
+ SystemCapabilities = {
+ com.apple.Sandbox = {
+ enabled = 0;
+ };
+ };
};
};
};
@@ -279,7 +284,6 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CODE_SIGN_ENTITLEMENTS = LunaMac/LunaMac.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = LunaMac/Info.plist;
@@ -297,7 +301,6 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CODE_SIGN_ENTITLEMENTS = LunaMac/LunaMac.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = LunaMac/Info.plist;
diff --git a/LunaMac/AppDelegate.swift b/LunaMac/AppDelegate.swift
index 76f1507..f32de17 100644
--- a/LunaMac/AppDelegate.swift
+++ b/LunaMac/AppDelegate.swift
@@ -141,6 +141,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
@objc func showAbout() {
let aboutWin = NSWindowController(windowNibName: "InfoBox")
aboutWin.loadWindow()
+ NSApp.activate(ignoringOtherApps: true)
}
// update menu bar icon
diff --git a/LunaMac/Info.plist b/LunaMac/Info.plist
index b4d176e..205031e 100644
--- a/LunaMac/Info.plist
+++ b/LunaMac/Info.plist
@@ -2,8 +2,6 @@
- LSUIElement
-
CFBundleDevelopmentRegion
$(DEVELOPMENT_LANGUAGE)
CFBundleExecutable
@@ -24,11 +22,17 @@
1
LSMinimumSystemVersion
$(MACOSX_DEPLOYMENT_TARGET)
+ LSUIElement
+
NSHumanReadableCopyright
Copyright © 2022 A Better Geek. All rights reserved.
NSMainStoryboardFile
Main
NSPrincipalClass
NSApplication
+ NSServices
+
+
+
diff --git a/LunaMac/LunaMac.entitlements b/LunaMac/LunaMac.entitlements
index f2ef3ae..0c67376 100644
--- a/LunaMac/LunaMac.entitlements
+++ b/LunaMac/LunaMac.entitlements
@@ -1,10 +1,5 @@
-
- com.apple.security.app-sandbox
-
- com.apple.security.files.user-selected.read-only
-
-
+