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

set an argument for the interpreter doesn't work #243

Open
stephane-archer opened this issue Feb 7, 2023 · 7 comments
Open

set an argument for the interpreter doesn't work #243

stephane-archer opened this issue Feb 7, 2023 · 7 comments

Comments

@stephane-archer
Copy link

When using Platypus, if I set an argument for the interpreter (bash) then when clicking to "Create App" nothing happens. if I don't, everything work as expected

@miko007
Copy link

miko007 commented Feb 27, 2023

same for me.

image

this whole setup is not working. Clicking on the "create app" button does absolutely nothing but change the title of the application from "Platypus" to "Platypus – Select destination". But i can not proceed in any meaningful way.

yourScript is located under /usr/local/bin/

@ghost
Copy link

ghost commented Apr 3, 2023

ive had the exact same issue, what breaks it is setting anything as arguments

@sveinbjornt
Copy link
Owner

This is a known bug in the latest version, will be fixed in the next update.

@jdelker
Copy link

jdelker commented Apr 12, 2023

Same problem here.
Using the "Args" popup once seems to break the dialog system completely.

Is there any projection for when the next version can be expected?

@jglass524
Copy link

jglass524 commented Mar 7, 2024

I just ran into this problem too. as a workaround, what I did was create a config.sh script which set the arguments that I want:
set -- -x -y -z "$@"
and then the bash script reads config.sh before parsing the command-line options:
if [ -f config.sh ]; then . config.sh; fi; options=$(getopt ...)

and then in Platypus, I added config.sh to the "Bundled Files" section

@m-thomson
Copy link

@jglass524 I think this issue is fixed, the author just hasn't released a new binary with the fix. Try compiling the project yourself and I believe it should just work. It does for me 👍🏼

@cedmos
Copy link

cedmos commented Mar 30, 2024

There is another workaround: Change the args as you want and save as profile.

Then close and go to 'Load Profile' (and don't change the args anymore).

After that it'll work

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

7 participants