File tree Expand file tree Collapse file tree 6 files changed +19
-13
lines changed
Expand file tree Collapse file tree 6 files changed +19
-13
lines changed Original file line number Diff line number Diff line change @@ -869,7 +869,7 @@ - (NSString *)estimatedAppSizeString {
869869 estimatedAppSize += [WORKSPACE fileOrFolderSize: [iconController icnsFilePath ]];
870870 estimatedAppSize += [WORKSPACE fileOrFolderSize: [dropSettingsController docIconPath ]];
871871 estimatedAppSize += [WORKSPACE fileOrFolderSize: [scriptPathTextField stringValue ]];
872- // base64 uses 6 bytes, instead of 8 , so multiply by 0.75
872+ // base64 encoding expands data to ~1.33x , so estimate original size by mult. * 0.75
873873 estimatedAppSize += ([WORKSPACE fileOrFolderSize: [[NSBundle mainBundle ] pathForResource: CMDLINE_SCRIPTEXEC_BIN_B64_NAME ofType: nil ]] * 0.75 );
874874
875875 // Nib size is much smaller if compiled with ibtool
Original file line number Diff line number Diff line change 445445 <key >CFBundleSignature </key >
446446 <string >???? </string >
447447 <key >CFBundleVersion </key >
448- <string >1323 </string >
448+ <string >1324 </string >
449449 <key >LSApplicationCategoryType </key >
450450 <string >public.app-category.developer-tools </string >
451451 <key >LSMinimumSystemVersion </key >
Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ if [ -e "%%PROGRAM_APP_SUPPORT_PATH%%" ]; then
88 mv " %%PROGRAM_APP_SUPPORT_PATH%%" ~ /.Trash/%%PROGRAM_NAME%%ApplicationSupport-TRASHED-$RANDOM
99fi
1010
11- if [ -e " ~/Library/Preferences/%%PROGRAM_BUNDLE_IDENTIFIER%%.plist" ]; then
11+ if [ -e ~ /Library/Preferences/%%PROGRAM_BUNDLE_IDENTIFIER%%.plist ]; then
1212 echo " Deleting %%PROGRAM_NAME%% preferences..."
13- mv " ~/Library/Preferences/%%PROGRAM_BUNDLE_IDENTIFIER%%.plist" ~ /.Trash/%%PROGRAM_BUNDLE_IDENTIFIER%%-TRASHED-$RANDOM .plist
13+ mv ~ /Library/Preferences/%%PROGRAM_BUNDLE_IDENTIFIER%%.plist ~ /.Trash/%%PROGRAM_BUNDLE_IDENTIFIER%%-TRASHED-$RANDOM .plist
1414fi
1515
1616if [ -e " %%APP_BUNDLE_PATH%%" ]; then
Original file line number Diff line number Diff line change 11671167 );
11681168 runOnlyForDeploymentPostprocessing = 0;
11691169 shellPath = /bin/sh;
1170- shellScript = "# exit 0\n# We need to sign all binaries within Sparkle framework for update installation to work\n# Only do this for release builds so CI testing works\nif [ \"${CODE_SIGNING_REQUIRED}\" != \"YES\" ]; then\n exit 0\nfi\n\n\nLOCATION1=\"${BUILT_PRODUCTS_DIR}/Platypus.app/Contents/Frameworks/Sparkle.framework/Versions/B/Updater.app/Contents/MacOS/Updater\"\nLOCATION2=\"${BUILT_PRODUCTS_DIR}/Platypus.app/Contents/Frameworks/Sparkle.framework/Versions/B/Autoupdate\"\nLOCATION3=\"${BUILT_PRODUCTS_DIR}/Platypus.app/Contents/Frameworks/Sparkle.framework/Versions/B/XPCServices/Downloader.xpc/Contents/MacOS/Downloader\"\nLOCATION4=\"${BUILT_PRODUCTS_DIR}/Platypus.app/Contents/Frameworks/Sparkle.framework\"\nLOCATION5=\"${BUILT_PRODUCTS_DIR}/Platypus.app\"\n# LOCATION6=\"${BUILT_PRODUCTS_DIR}/Platypus.app/Contents/Resources/ScriptExec\"\n\nIDENTITY=\"16A0188A9D74911B21953A33684437F70902BC30\"\n#${EXPANDED_CODE_SIGN_IDENTITY_NAME}\n\n#echo $IDENTITY\n\nstrip -xS\ncodesign --verbose --force -o runtime --deep --sign \"$IDENTITY\" \"$LOCATION1\"\ncodesign --verbose --force -o runtime --deep --sign \"$IDENTITY\" \"$LOCATION2\"\ncodesign --verbose --force -o runtime --deep --sign \"$IDENTITY\" \"$LOCATION3\"\ncodesign --verbose --force -o runtime --deep --sign \"$IDENTITY\" \"$LOCATION4\"\ncodesign --verbose --force -o runtime --deep --sign \"$IDENTITY\" \"$LOCATION5\"\n# codesign --verbose --force -o runtime --deep --sign \"$IDENTITY\" \"$LOCATION6\"\n";
1170+ shellScript = "# exit 0\n# We need to sign all binaries within Sparkle framework for update installation to work\n# Only do this for release builds so CI testing works\nif [ \"${CODE_SIGNING_REQUIRED}\" != \"YES\" ]; then\n exit 0\nfi\n\n\nLOCATION1=\"${BUILT_PRODUCTS_DIR}/Platypus.app/Contents/Frameworks/Sparkle.framework/Versions/B/Updater.app/Contents/MacOS/Updater\"\nLOCATION2=\"${BUILT_PRODUCTS_DIR}/Platypus.app/Contents/Frameworks/Sparkle.framework/Versions/B/Autoupdate\"\nLOCATION3=\"${BUILT_PRODUCTS_DIR}/Platypus.app/Contents/Frameworks/Sparkle.framework/Versions/B/XPCServices/Downloader.xpc/Contents/MacOS/Downloader\"\nLOCATION4=\"${BUILT_PRODUCTS_DIR}/Platypus.app/Contents/Frameworks/Sparkle.framework\"\nLOCATION5=\"${BUILT_PRODUCTS_DIR}/Platypus.app\"\n# LOCATION6=\"${BUILT_PRODUCTS_DIR}/Platypus.app/Contents/Resources/ScriptExec\"\n\nIDENTITY=\"16A0188A9D74911B21953A33684437F70902BC30\"\n#${EXPANDED_CODE_SIGN_IDENTITY_NAME}\n\n#echo $IDENTITY\n\ncodesign --verbose --force -o runtime --deep --sign \"$IDENTITY\" \"$LOCATION1\"\ncodesign --verbose --force -o runtime --deep --sign \"$IDENTITY\" \"$LOCATION2\"\ncodesign --verbose --force -o runtime --deep --sign \"$IDENTITY\" \"$LOCATION3\"\ncodesign --verbose --force -o runtime --deep --sign \"$IDENTITY\" \"$LOCATION4\"\ncodesign --verbose --force -o runtime --deep --sign \"$IDENTITY\" \"$LOCATION5\"\n# codesign --verbose --force -o runtime --deep --sign \"$IDENTITY\" \"$LOCATION6\"\n";
11711171 };
11721172 F4DC737D21644E0400D79823 /* ShellScript */ = {
11731173 isa = PBXShellScriptBuildPhase;
Original file line number Diff line number Diff line change @@ -325,7 +325,7 @@ - (BOOL)create {
325325 } else {
326326 [FILEMGR copyItemAtPath: execSrcPath toPath: execDestPath error: nil ];
327327 }
328- NSDictionary *execAttrDict = @{ NSFilePosixPermissions :[NSNumber numberWithShort: 0777 ] };
328+ NSDictionary *execAttrDict = @{ NSFilePosixPermissions :[NSNumber numberWithShort: 0755 ] };
329329 [FILEMGR setAttributes: execAttrDict ofItemAtPath: execDestPath error: nil ];
330330
331331 // Strip signature from the copied ScriptExec binary
Original file line number Diff line number Diff line change 66 <description >Most recent release list for Platypus, with links to updates.</description >
77 <language >en</language >
88 <item >
9- <title >Version 5.4</title >
10- <pubDate >Sat, 22 Oct 2022 16:45:00 +0000</pubDate >
11- <enclosure url =" https://sveinbjorn.org/files/software/platypus/platypus5.4.1.zip" sparkle : version =" 1240" sparkle : shortVersionString =" 5.4.1" type =" application/octet-stream"
12- sparkle : dsaSignature =" MCwCFF2ZMCUGXbtRXDoDVg6xrozx5pUbAhRD5MBPCvxyBiZuX2xXqSoxtvYFyw=="
13- sparkle : edSignature =" Yu/neYBUcK6IdTuX5VW4evhYbpDMqb/upGtiTmm5AweSEwjleHMm54vMUKGJTuHlLFIOiBF9b5gSLoOUoB25Bg==" length =" 4755863"
9+ <title >Version 5.5.0</title >
10+ <pubDate >Tue, 2 Dec 2025 14:16:00 +0000</pubDate >
11+ <enclosure url =" https://sveinbjorn.org/files/software/platypus/platypus5.5.0.zip" sparkle : version =" 1324" sparkle : shortVersionString =" 5.5.0" type =" application/octet-stream" sparkle : edSignature =" wNogCkgguagvmzOi9xxSmaAC8yKVDNXBJ7PBrOAWOhdPMEwDHJZYdDN+oG15XHG4X2yhziY7Q8PucLR44pO8BA==" length =" 3597916"
1412 />
1513 <sparkle : minimumSystemVersion >10.13.0</sparkle : minimumSystemVersion >
1614 <description ><![CDATA[
17- <h2>Version 5.4.1 </h2>
15+ <h2>Version 5.5.0 </h2>
1816 <ul>
19- <li>Fixed signing issues</li>
17+ <li>Platypus.app and the platypus command line tool are now notarized by Apple</li>
18+ <li>Now requires macOS 11 "Big Sur" or later</li>
19+ <li>Fixed bug where the Argument settings dialog could lock up the interface</li>
20+ <li>Better support for Dark Mode</li>
21+ <li>Preferences now named Settings according to new macOS convention</li>
22+ <li>Added --executable-path and --nib-path flags to command line tool to allow users to inject custom binaries or nib files</li>
23+ <li>Improved install script for command line tool to ease installation in CI environments</li>
24+ <li>Extensive modernization of codebase</li>
25+ <li>Much-improved tests for command line tool</li>
2026 </ul>
2127 ]]> </description >
2228 </item >
You can’t perform that action at this time.
0 commit comments