diff --git a/Application/PlatypusWindowController.m b/Application/PlatypusWindowController.m index c1abb219..bb023d8d 100644 --- a/Application/PlatypusWindowController.m +++ b/Application/PlatypusWindowController.m @@ -202,7 +202,7 @@ - (BOOL)application:(NSApplication *)theApplication openFile:(NSString *)filenam } - (BOOL)applicationSupportsSecureRestorableState:(NSApplication *)app { - return YES; + return NO; } #pragma mark - NSWindowDelegate diff --git a/Application/Resources/Platypus-Info.plist b/Application/Resources/Platypus-Info.plist index cb13e71e..a909ef5e 100644 --- a/Application/Resources/Platypus-Info.plist +++ b/Application/Resources/Platypus-Info.plist @@ -411,7 +411,7 @@ CFBundleSignature ???? CFBundleVersion - 1262 + 1264 LSApplicationCategoryType public.app-category.developer-tools LSMinimumSystemVersion diff --git a/Platypus.xcodeproj/project.pbxproj b/Platypus.xcodeproj/project.pbxproj index 112be34f..207ee47e 100755 --- a/Platypus.xcodeproj/project.pbxproj +++ b/Platypus.xcodeproj/project.pbxproj @@ -1909,6 +1909,7 @@ buildSettings = { CLANG_ENABLE_OBJC_WEAK = YES; DEAD_CODE_STRIPPING = YES; + MACOSX_DEPLOYMENT_TARGET = 10.13; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Development; @@ -1918,6 +1919,7 @@ buildSettings = { CLANG_ENABLE_OBJC_WEAK = YES; DEAD_CODE_STRIPPING = YES; + MACOSX_DEPLOYMENT_TARGET = 10.13; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Deployment; @@ -1927,6 +1929,7 @@ buildSettings = { CLANG_ENABLE_OBJC_WEAK = YES; DEAD_CODE_STRIPPING = YES; + MACOSX_DEPLOYMENT_TARGET = 10.13; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Default; @@ -2025,6 +2028,7 @@ buildSettings = { CLANG_ENABLE_OBJC_WEAK = YES; DEAD_CODE_STRIPPING = YES; + MACOSX_DEPLOYMENT_TARGET = 10.13; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Development; @@ -2034,6 +2038,7 @@ buildSettings = { CLANG_ENABLE_OBJC_WEAK = YES; DEAD_CODE_STRIPPING = YES; + MACOSX_DEPLOYMENT_TARGET = 10.13; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Deployment; @@ -2043,6 +2048,7 @@ buildSettings = { CLANG_ENABLE_OBJC_WEAK = YES; DEAD_CODE_STRIPPING = YES; + MACOSX_DEPLOYMENT_TARGET = 10.13; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Default; diff --git a/ScriptExec/Resources/AppSettings.plist b/ScriptExec/Resources/AppSettings.plist index 4ec7757b..9d487dde 100644 --- a/ScriptExec/Resources/AppSettings.plist +++ b/ScriptExec/Resources/AppSettings.plist @@ -11,7 +11,7 @@ Creator Platypus-5.4.2 InterfaceType - Text Window + Web View URISchemes InterpreterArgs diff --git a/ScriptExec/Resources/script b/ScriptExec/Resources/script index 3c8a9206..f69674e2 100755 --- a/ScriptExec/Resources/script +++ b/ScriptExec/Resources/script @@ -1,6 +1,6 @@ #!/bin/sh -echo "LOCATION: http://example.com\n" +echo "LOCATION:http://example.com\n" #echo "SUBMENU|Title|Item1|Item2|Item3" diff --git a/ScriptExec/SEController.m b/ScriptExec/SEController.m index 0e1d9ea4..c88a3cff 100644 --- a/ScriptExec/SEController.m +++ b/ScriptExec/SEController.m @@ -528,6 +528,10 @@ - (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sende return NSTerminateNow; } +- (BOOL)applicationSupportsSecureRestorableState:(NSApplication *)app { + return NO; +} + #pragma mark - NSWindowDelegate - (void)windowWillClose:(NSNotification *)notification {