Closed ticky closed 3 years ago
I have no means to flag it as executable. I don't even have access to a mac. It's not working as an "application bundle" ? Please see issue number #4
No, the application bundle does not work as provided; those two specific files need to be marked executable for it to work. The build provided by @Pistacchione in #4 does work because the permissions are already correct, but the one in GDMENUCardManager.v1.3.3-osx-x64-AppBundle.zip
does not.
You might consider building the releases using GitHub's Actions CI, which provides free Mac environments to build on.
I have no idea how to do this. I will revert back to not using the bundle then. For now you can just extract it from the zip and set the correct attributes right?
Right, well looking at what Avalonia say they sadly don't have a good suggestion for this, other than doing chmod
stuff on a Unix system. Do you have access to a Linux machine to do this? That should work, as long as the files are marked correctly.
It looks like there might be a way to fix this from Windows, using this person's tool
I've made a python script to create the linux tar version with the correct attribute. Passed the mac version through it and generated a tar.gz file. It's on the releases page. Can you test it please?
I've tested it with the tar.gz bundle, applying chmod +x
to GDMENU makes it executable, but without doing that the issue persists
Your script might only be applying +x to GDMENUCardManager.app/Contents/MacOS/GDMENUCardManager/GDMENUCardManager
, it'll need to apply it to GDMENUCardManager.app/Contents/MacOS/GDMENU
as well.
I just want to say I appreciate you working to help with this!
Oh. I will need to apply the correct attribute to the GDMENU shell script too. Gonna do this in a few days. Will let you know. Also thanks for testing and reporting! It's really important to me as I don't have access to a mac.
Hi to all,
as @ticky said it need to apply +x to GDMENUCardManager.app/Contents/MacOS/GDMENU
.
Application start but with access denied error on every volume
But if you start it via command line ./GDMENUCardManager.app/Contents/MacOS/GDMENU
it works...
We need to investigate more to find the issue.
By the way, this is a great tool and we hope to help you solve this issue and improve it further!
Uploaded AppBundle.tar.gz with execute attribute on the two required files. Please test again. :)
Uploaded AppBundle.tar.gz with execute attribute on the two required files. Please test again. :)
Now the application start but all external volumes are not accessible
One more time... Now using the linked "zip_exec" program. Please try again with the zip file.
One more time... Now using the linked "zip_exec" program. Please try again with the zip file.
Nope, same error for me
Ouch. Getting out of options here. If you get the normal zip version, extract and set attribute on the executable, it works?
Now the application start but all external volumes are not accessible
this is an entirely separate issue and not related to the executable flag, let's discuss that one in #12
it sounds like the tar.gz
solution worked for this, but that version seems to have been deleted now, so I can't check!
The current zip
version also has correct executable permissions, so I believe this particular issue is resolved.
@ticky tar file is back again but it should have the exactly same attributes as the zip one. If you want to test it.
@ticky tar file is back again but it should have the exactly same attributes as the zip one. If you want to test it.
Maybe this doc could help to build a correct .app
application https://docs.avaloniaui.net/docs/distribution-publishing/macos#notes-on-the-app-executable-file
@sonik-br okay, that version works, too 👍🏼 whichever way is easiest for you, this issue is resolved
The current Mac version does not run due to a permission error; the executables at
GDMENUCardManager.app/Contents/MacOS/GDMENU
andGDMENUCardManager.app/Contents/MacOS/GDMENUCardManager/GDMENUCardManager
are not marked as executable, which causes the app to fail to open until manually fixed.