Skip to content

Commit

Permalink
Added applicationSupportsSecureRestorableState ApplicationDelegate pr…
Browse files Browse the repository at this point in the history
…otocol method to enable secure coding for restorable state #261
  • Loading branch information
sveinbjornt committed Oct 24, 2023
1 parent 7e456d3 commit 9d2cb2c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Application/PlatypusWindowController.m
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@ - (BOOL)application:(NSApplication *)theApplication openFile:(NSString *)filenam
return YES;
}

- (BOOL)applicationSupportsSecureRestorableState:(NSApplication *)app {
return YES;
}

#pragma mark - NSWindowDelegate

- (BOOL)window:(NSWindow *)window shouldPopUpDocumentPathMenu:(NSMenu *)menu {
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>1255</string>
<string>1256</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.developer-tools</string>
<key>LSMinimumSystemVersion</key>
Expand Down

0 comments on commit 9d2cb2c

Please sign in to comment.