Skip to content

Commit

Permalink
Prepping for 5.4.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
sveinbjornt committed Oct 22, 2022
1 parent d80fadb commit 893473e
Show file tree
Hide file tree
Showing 35 changed files with 37 additions and 62 deletions.
14 changes: 2 additions & 12 deletions Application/ArgsController.m
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ - (NSArray *)scriptArgs {

- (IBAction)apply:(id)sender {
[[self window] makeFirstResponder:commandTextField];
[NSApp stopModal];
[[self window] orderOut:self];
}

- (IBAction)setToDefaults:(id)sender {
Expand All @@ -110,17 +110,7 @@ - (IBAction)show:(id)sender {
[self constructCommandString];
[[self window] makeFirstResponder:interpreterArgsTableView];

//open window
[NSApp beginSheet:[self window]
modalForWindow:parentWindow
modalDelegate:nil
didEndSelector:nil
contextInfo:nil];

[NSApp runModalForWindow:[self window]];

[NSApp endSheet:[self window]];
[[self window] orderOut:self];
[parentWindow beginSheet:[self window] completionHandler:nil];
}

- (void)constructCommandString {
Expand Down
1 change: 0 additions & 1 deletion Application/PlatypusWindowController.m
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,6 @@ - (IBAction)selectScript:(id)sender {
[oPanel setPrompt:@"Select"];
[oPanel setAllowsMultipleSelection:NO];
[oPanel setCanChooseDirectories:NO];
[oPanel setAllowedFileTypes:@[(NSString *)kUTTypeContent]];
[oPanel setDelegate:self];

// Run as sheet
Expand Down
4 changes: 2 additions & 2 deletions Application/Resources/Platypus-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -407,11 +407,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>5.4</string>
<string>5.4.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1237</string>
<string>1240</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.developer-tools</string>
<key>LSMinimumSystemVersion</key>
Expand Down
3 changes: 3 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ For future versions...
TODO: Harden CI testing for this old project
TODO: Fix selection change when item is deleted from the Bundled Files List

For 5.4.1 - 22/10/2022
* Fixed signing issues

For 5.4 - 03/09/2022
* Added native support for arm64 CPU architecture. Both Platypus and the apps it generates are now Universal ARM/Intel 64-bit binaries
* New application icon
Expand Down
2 changes: 1 addition & 1 deletion Common.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

// General program information
#define PROGRAM_NAME @"Platypus"
#define PROGRAM_VERSION @"5.4"
#define PROGRAM_VERSION @"5.4.1"
#define PROGRAM_CREATOR_STAMP [NSString stringWithFormat:@"%@-%@", PROGRAM_NAME, PROGRAM_VERSION]
#define PROGRAM_MIN_SYS_VERSION @"10.11.0"
#define PROGRAM_BUNDLE_IDENTIFIER [NSString stringWithFormat:@"org.sveinbjorn.%@", PROGRAM_NAME]
Expand Down
4 changes: 2 additions & 2 deletions Documentation/Documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@
<body>
<div class="container">
<div class="body-content"><p><img style="float: right; margin-left: 30px; margin-bottom: 20px;" width="128" height="128" src="images/platypus.png" align="right"></p>
<h1 id="documentation-for-platypus-5-4">Documentation for Platypus 5.4</h1>
<h1 id="documentation-for-platypus-5-4-1">Documentation for Platypus 5.4.1</h1>
<p>Last updated on September 3rd, 2022. The latest version of this document can be found <a href="https://sveinbjorn.org/platypus_documentation">here</a>.</p>
<h2 id="introduction">Introduction</h2>
<h3 id="what-is-platypus-">What is Platypus?</h3>
Expand All @@ -348,7 +348,7 @@ <h3 id="what-platypus-is-not">What Platypus is NOT</h3>
<p>That being said, you may be able to add some interactive GUI elements using <a href="https://github.com/cocoadialog/cocoadialog">CocoaDialog</a>,
<a href="https://www.bluem.net/en/projects/pashua/">Pashua</a> or <a href="#prompting-for-input-via-osascript-applescript">AppleScript</a>.</p>
<h3 id="system-requirements">System Requirements</h3>
<p>Both Platypus and the applications it generates require <strong>macOS 10.11</strong> or later and are provided as <strong>64-bit Intel</strong> binaries. If you want to target macOS 10.8-10.10, use <a href="https://sveinbjorn.org/files/software/platypus/platypus5.3.zip">version 5.3</a>.
<p>Both Platypus and the applications it generates require <strong>macOS 10.11</strong> or later and are provided as <strong>64-bit ARM/Intel</strong> binaries. If you want to target macOS 10.8-10.10, use <a href="https://sveinbjorn.org/files/software/platypus/platypus5.3.zip">version 5.3</a>.
If you want to target 10.6 and/or 32-bit Intel systems,
<a href="https://sveinbjorn.org/files/software/platypus/platypus4.9.zip">version 4.9</a> continues to work just fine.</p>
<h3 id="credits">Credits</h3>
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Documentation.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<img style="float: right; margin-left: 30px; margin-bottom: 20px;" width="128" height="128" src="images/platypus.png" align="right">

# Documentation for Platypus 5.4
# Documentation for Platypus 5.4.1

Last updated on September 3rd, 2022. The latest version of this document can be found [here](https://sveinbjorn.org/platypus_documentation).

Expand Down
2 changes: 1 addition & 1 deletion Examples/AdminPrivilegesDemo.platypus
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>BundledFiles</key>
<array/>
<key>Creator</key>
<string>Platypus-5.4</string>
<string>Platypus-5.4.1</string>
<key>DeclareService</key>
<false/>
<key>Overwrite</key>
Expand Down
2 changes: 1 addition & 1 deletion Examples/AlertMe.platypus
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>BundledFiles</key>
<array/>
<key>Creator</key>
<string>Platypus-5.4</string>
<string>Platypus-5.4.1</string>
<key>DeclareService</key>
<false/>
<key>Overwrite</key>
Expand Down
2 changes: 1 addition & 1 deletion Examples/DataURLifier.platypus
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>BundledFiles</key>
<array/>
<key>Creator</key>
<string>Platypus-5.4</string>
<string>Platypus-5.4.1</string>
<key>DeclareService</key>
<false/>
<key>Overwrite</key>
Expand Down
2 changes: 1 addition & 1 deletion Examples/FastDMGMounter.platypus
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>DocIconPath</key>
<string>/System/Library/CoreServices/DiskImageMounter.app/Contents/Resources/diskcopy-doc.icns</string>
<key>Creator</key>
<string>Platypus-5.4</string>
<string>Platypus-5.4.1</string>
<key>Overwrite</key>
<false/>
<key>DevelopmentVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion Examples/IcnsToIconset.platypus
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>BundledFiles</key>
<array/>
<key>Creator</key>
<string>Platypus-5.4</string>
<string>Platypus-5.4.1</string>
<key>DeclareService</key>
<false/>
<key>Overwrite</key>
Expand Down
2 changes: 1 addition & 1 deletion Examples/ImageResizer.platypus
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>BundledFiles</key>
<array/>
<key>Creator</key>
<string>Platypus-5.4</string>
<string>Platypus-5.4.1</string>
<key>DeclareService</key>
<false/>
<key>Overwrite</key>
Expand Down
2 changes: 1 addition & 1 deletion Examples/MacbethMenu.platypus
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<key>BundledFiles</key>
<array/>
<key>Creator</key>
<string>Platypus-5.4</string>
<string>Platypus-5.4.1</string>
<key>Overwrite</key>
<false/>
<key>DevelopmentVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion Examples/PostToNotificationCenter.platypus
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<key>BundledFiles</key>
<array/>
<key>Creator</key>
<string>Platypus-5.4</string>
<string>Platypus-5.4.1</string>
<key>Overwrite</key>
<false/>
<key>DevelopmentVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion Examples/ProcessMenu.platypus
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<key>BundledFiles</key>
<array/>
<key>Creator</key>
<string>Platypus-5.4</string>
<string>Platypus-5.4.1</string>
<key>Overwrite</key>
<false/>
<key>DevelopmentVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion Examples/ProgressBar.platypus
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<key>BundledFiles</key>
<array/>
<key>Creator</key>
<string>Platypus-5.4</string>
<string>Platypus-5.4.1</string>
<key>Overwrite</key>
<false/>
<key>DevelopmentVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion Examples/SayURLSchemeHandler.platypus
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>BundledFiles</key>
<array/>
<key>Creator</key>
<string>Platypus-5.4</string>
<string>Platypus-5.4.1</string>
<key>DeclareService</key>
<true/>
<key>DevelopmentVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion Examples/SpeakDroplet.platypus
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>BundledFiles</key>
<array/>
<key>Creator</key>
<string>Platypus-5.4</string>
<string>Platypus-5.4.1</string>
<key>Overwrite</key>
<false/>
<key>DevelopmentVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion Examples/SpotlightInfo.platypus
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>BundledFiles</key>
<array/>
<key>Creator</key>
<string>Platypus-5.4</string>
<string>Platypus-5.4.1</string>
<key>Overwrite</key>
<false/>
<key>DevelopmentVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion Examples/StatusMenuDemo.platypus
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<key>BundledFiles</key>
<array/>
<key>Creator</key>
<string>Platypus-5.4</string>
<string>Platypus-5.4.1</string>
<key>Overwrite</key>
<false/>
<key>DevelopmentVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion Examples/SysLoadMenu.platypus
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<key>BundledFiles</key>
<array/>
<key>Creator</key>
<string>Platypus-5.4</string>
<string>Platypus-5.4.1</string>
<key>Overwrite</key>
<false/>
<key>DevelopmentVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion Examples/TarGzipper.platypus
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>BundledFiles</key>
<array/>
<key>Creator</key>
<string>Platypus-5.4</string>
<string>Platypus-5.4.1</string>
<key>Overwrite</key>
<false/>
<key>DevelopmentVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion Examples/WebViewDroplet.platypus
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>BundledFiles</key>
<array/>
<key>Creator</key>
<string>Platypus-5.4</string>
<string>Platypus-5.4.1</string>
<key>DeclareService</key>
<false/>
<key>Overwrite</key>
Expand Down
2 changes: 1 addition & 1 deletion Examples/WordCountService.platypus
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>BundledFiles</key>
<array/>
<key>Creator</key>
<string>Platypus-5.4</string>
<string>Platypus-5.4.1</string>
<key>DeclareService</key>
<true/>
<key>Overwrite</key>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ status menu items, launchers and automations using Platypus.

Platypus is free, open source software and has been continuously developed and maintained for a very long time (since 2003). **If you find this program useful, please [make a donation](https://sveinbjorn.org/donations).**

* **[⇩ Download Platypus 5.4](https://sveinbjorn.org/files/software/platypus.zip)** (Intel/ARM 64-bit, 10.11 or later, ~4.3 MB)
* **[⇩ Download Platypus 5.4.1](https://sveinbjorn.org/files/software/platypus.zip)** (Intel/ARM 64-bit, 10.11 or later, ~4.3 MB)

Platypus can also be installed via [Homebrew](https://brew.sh) (may not be latest version):

Expand Down
2 changes: 1 addition & 1 deletion ScriptExec/Resources/AppSettings.plist
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<key>Authentication</key>
<integer>0</integer>
<key>Creator</key>
<string>Platypus-5.4</string>
<string>Platypus-5.4.1</string>
<key>InterfaceType</key>
<string>Web View</string>
<key>URISchemes</key>
Expand Down
29 changes: 6 additions & 23 deletions Sparkle/PlatypusAppcast.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,16 @@
<language>en</language>
<item>
<title>Version 5.4</title>
<pubDate>Sat, 3 Sep 2022 19:50:00 +0000</pubDate>
<enclosure url="https://sveinbjorn.org/files/software/platypus/platypus5.4.zip" sparkle:version="1233" sparkle:shortVersionString="5.4" type="application/octet-stream" sparkle:dsaSignature="MC0CFG9AmNyGBj3DZ1XoGIrPgN+Dpv8VAhUArZsbkDid6Z/Ed85+BUWf5yXC4Hg=" sparkle:edSignature="AoUtDC55R3afC3CN3/SQQJo+1wfkpxr+2EScWOWT/keDi5IUV0WfuCRR5qSD8G8f1fL8I/OIEapgmWjNvsndAQ==" length="4325671"
<pubDate>Sat, 22 Oct 2022 16:45:00 +0000</pubDate>
<enclosure url="https://sveinbjorn.org/files/software/platypus/platypus5.4.1.zip" sparkle:version="1240" sparkle:shortVersionString="5.4.1" type="application/octet-stream"
sparkle:dsaSignature="MCwCFF2ZMCUGXbtRXDoDVg6xrozx5pUbAhRD5MBPCvxyBiZuX2xXqSoxtvYFyw=="
sparkle:edSignature="Yu/neYBUcK6IdTuX5VW4evhYbpDMqb/upGtiTmm5AweSEwjleHMm54vMUKGJTuHlLFIOiBF9b5gSLoOUoB25Bg==" length="4755863"
/>
<sparkle:minimumSystemVersion>10.11.0</sparkle:minimumSystemVersion>
<description><![CDATA[
<h2>Version 5.4</h2>
<h2>Version 5.4.1</h2>
<ul>
<li>Added native support for the arm64 CPU architecture (Apple Silicon). Both Platypus and the apps it generates are now Universal ARM/Intel 64-bit binaries</li>
<li>New application icon</li>
<li>Status Menu submenu items can now be disabled with the DISABLED syntax</li>
<li>Support relative interpreter path (i.e. relative to Resources directory)</li>
<li>Support dark mode for text fields (inverts colors, changes dynamically when user switches interface modes)</li>
<li>Command line tool no longer defaults to stripping nib file (requires explicit -y option)</li>
<li>Enabled close button on windows, which now quit the app(s)</li>
<li>Added standard Help Menu to ScriptExec apps (support for bundled help bundles)</li>
<li>Added support for dynamically changing status item title and icon via STATUSTITLE and STATUSICON syntax</li>
<li>Warn when non-existent file in bundled files list</li>
<li>Command line tool now defaults to creating apps with no application icon</li>
<li>Support for notifications is now an option, to prevent permission popups on Catalina and later</li>
<li>Added Python 3 and Dart interpreter presets</li>
<li>Platypus apps now hide (instead of disabling) Open and Open Recent menu items if they don't accept files</li>
<li>Fixed issue with signing generated apps due to missing "APPL" CFBundleType</li>
<li>Fixed nasty empty newline parsing bug</li>
<li>Switched over to AGIconFamily for icon generation, reducing dependence on deprecated Carbon calls</li>
<li>Resolved issue with text selection and dark mode in generated apps</li>
<li>Improved drag and drop handling on Platypus main window</li>
<li>Now requires macOS 10.11 or later</li>
<li>Fixed signing issues</li>
</ul>
]]></description>
</item>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 893473e

Please sign in to comment.