-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#74: Workaround for ScreenSaverDefaults not updated in Sonoma
ScreenSaverDefaults are not updated in macOS Sonoma when changed in System Preferences because an old instance of legacyScreenSaver with older values is still running in background and re-used when activating the screen saver again instead closing of legacyScreenSaver and starting an new instance with new values from ScreenSaverDefaults. Adding a notification handler to com.apple.screensaver.willstop with exit(0) will now quit this old background instance when the screensaver is stoped used instead of keeping it running and reuing it later.
- Loading branch information
Showing
5 changed files
with
39 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
archiveVersion = 1; | ||
classes = { | ||
}; | ||
objectVersion = 46; | ||
objectVersion = 54; | ||
objects = { | ||
|
||
/* Begin PBXBuildFile section */ | ||
|
@@ -139,12 +139,12 @@ | |
CC24BA8C1BF124350045BDC7 /* Project object */ = { | ||
isa = PBXProject; | ||
attributes = { | ||
LastUpgradeCheck = 1250; | ||
BuildIndependentTargetsInParallel = YES; | ||
LastUpgradeCheck = 1530; | ||
ORGANIZATIONNAME = "Marco Köhler"; | ||
TargetAttributes = { | ||
CC24BA941BF124350045BDC7 = { | ||
CreatedOnToolsVersion = 6.2; | ||
DevelopmentTeam = SQ837JJYGQ; | ||
}; | ||
}; | ||
}; | ||
|
@@ -265,9 +265,11 @@ | |
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | ||
CODE_SIGN_IDENTITY = "Apple Development: [email protected] (RHZ2NT4CZR)"; | ||
COPY_PHASE_STRIP = NO; | ||
DEAD_CODE_STRIPPING = YES; | ||
ENABLE_HARDENED_RUNTIME = YES; | ||
ENABLE_STRICT_OBJC_MSGSEND = YES; | ||
ENABLE_TESTABILITY = YES; | ||
ENABLE_USER_SCRIPT_SANDBOXING = YES; | ||
GCC_C_LANGUAGE_STANDARD = gnu99; | ||
GCC_DYNAMIC_NO_PIC = NO; | ||
GCC_NO_COMMON_BLOCKS = YES; | ||
|
@@ -321,10 +323,12 @@ | |
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | ||
CODE_SIGN_IDENTITY = "Apple Development: [email protected] (RHZ2NT4CZR)"; | ||
COPY_PHASE_STRIP = NO; | ||
DEAD_CODE_STRIPPING = YES; | ||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; | ||
ENABLE_HARDENED_RUNTIME = YES; | ||
ENABLE_NS_ASSERTIONS = NO; | ||
ENABLE_STRICT_OBJC_MSGSEND = YES; | ||
ENABLE_USER_SCRIPT_SANDBOXING = YES; | ||
GCC_C_LANGUAGE_STANDARD = gnu99; | ||
GCC_NO_COMMON_BLOCKS = YES; | ||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | ||
|
@@ -342,9 +346,14 @@ | |
CC24BAA11BF124350045BDC7 /* Debug */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-"; | ||
COMBINE_HIDPI_IMAGES = YES; | ||
DEAD_CODE_STRIPPING = YES; | ||
"DEVELOPMENT_TEAM[sdk=macosx*]" = SQ837JJYGQ; | ||
INFOPLIST_FILE = AnimatedGif/Info.plist; | ||
INSTALL_PATH = "$(HOME)/Library/Screen Savers"; | ||
MACOSX_DEPLOYMENT_TARGET = 11.0; | ||
MARKETING_VERSION = 1.5.5; | ||
PRODUCT_BUNDLE_IDENTIFIER = "noname.$(PRODUCT_NAME:rfc1034identifier)"; | ||
PRODUCT_NAME = "$(TARGET_NAME)"; | ||
SDKROOT = macosx; | ||
|
@@ -355,9 +364,14 @@ | |
CC24BAA21BF124350045BDC7 /* Release */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-"; | ||
COMBINE_HIDPI_IMAGES = YES; | ||
DEAD_CODE_STRIPPING = YES; | ||
"DEVELOPMENT_TEAM[sdk=macosx*]" = SQ837JJYGQ; | ||
INFOPLIST_FILE = AnimatedGif/Info.plist; | ||
INSTALL_PATH = "$(HOME)/Library/Screen Savers"; | ||
MACOSX_DEPLOYMENT_TARGET = 11.0; | ||
MARKETING_VERSION = 1.5.5; | ||
ONLY_ACTIVE_ARCH = NO; | ||
PRODUCT_BUNDLE_IDENTIFIER = "noname.$(PRODUCT_NAME:rfc1034identifier)"; | ||
PRODUCT_NAME = "$(TARGET_NAME)"; | ||
|
Binary file modified
BIN
-1.41 KB
(99%)
...deproj/project.xcworkspace/xcuserdata/koehmarc.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
5 changes: 3 additions & 2 deletions
5
AnimatedGif.xcodeproj/xcuserdata/koehmarc.xcuserdatad/xcschemes/AnimatedGif.xcscheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters