Skip to content

Commit

Permalink
Various minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sveinbjornt committed Oct 17, 2023
1 parent 44ace31 commit 7e456d3
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Application/PlatypusWindowController.m
Original file line number Diff line number Diff line change
Expand Up @@ -417,10 +417,10 @@ - (BOOL)createApplication:(NSString *)destination {
spec[AppSpecKey_NibPath] = [[NSBundle mainBundle] pathForResource:CMDLINE_NIB_NAME ofType:nil];
spec[AppSpecKey_SymlinkFiles] = @((BOOL)[createSymlinksCheckbox intValue]);
spec[AppSpecKey_StripNib] = @((BOOL)[stripNibFileCheckbox intValue]);
if (spec[AppSpecKey_StripNib]) {
spec[AppSpecKey_NibPath] = [[NSBundle mainBundle] pathForResource:CMDLINE_NIB_OPT_NAME ofType:nil];
// spec[AppSpecKey_StripNib] = @(NO);
}
// if (spec[AppSpecKey_StripNib]) {
// spec[AppSpecKey_NibPath] = [[NSBundle mainBundle] pathForResource:CMDLINE_NIB_OPT_NAME ofType:nil];
// //spec[AppSpecKey_StripNib] = @(NO);
// }
spec[AppSpecKey_Overwrite] = @YES;
if (![[DEFAULTS stringForKey:DefaultsKey_SigningIdentity] isEqualToString:@"None"]) {
spec[AppSpecKey_SigningIdentity] = [DEFAULTS stringForKey:@"SigningIdentity"];
Expand Down
2 changes: 1 addition & 1 deletion Application/Resources/Platypus-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1252</string>
<string>1255</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.developer-tools</string>
<key>LSMinimumSystemVersion</key>
Expand Down
4 changes: 3 additions & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@ For future versions...
TODO: Create more automated tests for command line tool and document existing tests
TODO: Harden CI testing for this old project
TODO: Fix selection change when item is deleted from the Bundled Files List
TODO: Make Status Menu from script generation non-blocking

For 5.4.2 - 03/10/2023
For 5.4.2
* Fixed bug where the argument settings window would lock up
* Better support for Dark Mode
* Performance optimizations in the app build process
* TODO: Upgrade Sparkle version

For 5.4.1 - 22/10/2022
* Fixed signing issues
Expand Down
5 changes: 4 additions & 1 deletion Shared/NSColor+Inverted.m
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ @implementation NSColor (Inverted)

- (NSColor *)inverted {
const CGFloat * _Nullable cc = CGColorGetComponents(self.CGColor);
return [NSColor colorWithRed:(1-cc[0]) green:(1-cc[1]) blue:(1-cc[2]) alpha:CGColorGetAlpha(self.CGColor)];
return [NSColor colorWithRed:(1-cc[0])
green:(1-cc[1])
blue:(1-cc[2])
alpha:CGColorGetAlpha(self.CGColor)];
}

@end

0 comments on commit 7e456d3

Please sign in to comment.