Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for update: Platypus version in Homebrew is outdated #245

Open
torhector2 opened this issue Feb 17, 2023 · 7 comments
Open

Request for update: Platypus version in Homebrew is outdated #245

torhector2 opened this issue Feb 17, 2023 · 7 comments

Comments

@torhector2
Copy link

torhector2 commented Feb 17, 2023

Hey there,

We're using the Platypus program from Homebrew to create apps in our GitHub Actions workflows. But the version we're using (5.3) isn't working right, and the apps we make won't run. It turns out that newer versions of Platypus (5.4 and 5.4.1) have fixed this issue.

Could you update the version of Platypus in Homebrew to the newest one, so we can use it and other people can too?

Thank you very much for your help and for providing such a great app.

@michalzaq12
Copy link

@sveinbjornt Is there any way to download latest CLI directly? Thanks in advance!

@sveinbjornt
Copy link
Owner

You can install the command line client via the Preferences window in Platypus.

@sveinbjornt
Copy link
Owner

That being said, I should try to fix the issue with including Platypus in Homebrew.

@berleant
Copy link

berleant commented Mar 8, 2024

Since brew install platypus is now disabled, how do you recommend installing the CLI on a GitHub Actions runner (with no GUI)?

@sveinbjornt
Copy link
Owner

The command line tool is in the Platypus.app bundle. It's also a target in the xcodeproj. That stuff is definitely fixable. Probably the simplest is to include the binary in your repo.

@berleant
Copy link

Thanks for the quick response!

For anyone else trying to get this to work, here is what I did:

  1. Save the following files from Platypus.app/Contents/Resources into the repo (some of these files needed to be unzipped first): platypus_clt ScriptExec MainMenu.nib
  2. As part of the pipeline, copy ScriptExec and MainMenu.nib into /usr/local/share/platypus
  3. As part of the pipeline, install platypus via brew according to the instructions on the website. (I'm not sure if this is actually necessary)
  4. Change the platypus command in the pipeline to platypus_clt

@michaelherger
Copy link

FWIW: I've successfully followed @berleant's instructions with some tweaks:

  • ScriptExec and platypus_clt are gzipped in the archive and need to be extracted first
  • Platypus does not need to be installed, the above three files seem to be all you need

I've created a Github action which would successfully bundle a Hello World script and upload the asset. See #270 (comment).

michaelherger pushed a commit to LMS-Community/slimserver-platforms that referenced this issue Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants