Skip to content
New issue

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

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

Already on GitHub? # to your account

10.3 beta no executable flag on mac #37

Closed
ambyra opened this issue Feb 24, 2020 · 4 comments
Closed

10.3 beta no executable flag on mac #37

ambyra opened this issue Feb 24, 2020 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@ambyra
Copy link

ambyra commented Feb 24, 2020

I had to open the app and chmod 755.

@DerKoun
Copy link
Owner

DerKoun commented Feb 24, 2020

OK, I'll need some help here. Please consider me a Windows guy with no access to a Mac and little to no experience with building C++ Application, especially for Mac or Linux. (It's not entirely that bad, but please consider me dumb in this issue just to be safe.)
So 2 questions on using 'chmod' to make the app executable, so I can try to add it to the build:

  1. Is this flag kept when I zip the app?
  2. What target do I have to chmod ("bsnes_hd.app", "bsnes_hd.app/Contents/MacOS/bsnes" or something else)? Maybe post the command line to be sure I get it right ...

@DerKoun DerKoun added the help wanted Extra attention is needed label Feb 24, 2020
@DerKoun
Copy link
Owner

DerKoun commented Mar 4, 2020

So it seems the command should look like this:

chmod +x bsnes_hd.app/Contents/MacOS/bsnes

And I should replace ZIP with TAR to keep the permission:

tar -jcvfp archive.tar.bz2 folder

I guess the same changes could be made for the Linus builds

@DerKoun
Copy link
Owner

DerKoun commented Mar 9, 2020

Please see #11 (comment) for test builds. Feedback is appreaciated.

@DerKoun
Copy link
Owner

DerKoun commented Feb 20, 2021

fixed in new beta 10.4
Mac and Linux builds are now tar.bz2 to keep the executable flag.
@ambyra please confirm

@DerKoun DerKoun closed this as completed Feb 20, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants