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

-B, --bash-action doesn't do anything on M1 Mac #56

Open
GentleHoneyLover opened this issue Sep 29, 2021 · 0 comments
Open

-B, --bash-action doesn't do anything on M1 Mac #56

GentleHoneyLover opened this issue Sep 29, 2021 · 0 comments

Comments

@GentleHoneyLover
Copy link

Hello,

After moving to the M1 Mac, the -B argument stopped working.

Example of how I'm using yo (works on Intel Mac):

yo.app/Contents/MacOS/yo -t 'Time to check for updates' -s 'Ready to do it now?' -o No -b Yes -B "/path/to/script.sh"

The same exact thing doesn't work on M1 Mac. I even rebuilt yo to be native Apple Silicone.

Tried doing this as a test — no test.txt file created

/path/to/yo.app/Contents/MacOS/yo -t 'Time to check for updates' -s 'Ready to do it now?' -o No -b Yes -B "touch ~/Desktop/text.txt"

Is there a fix (or at least a workaround)?

Thanks!

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

1 participant