libgdx / packr

Packages your JAR, assets and a JVM for distribution on Windows, Linux and Mac OS X
Apache License 2.0
2.57k stars 171 forks source link

Mac keeps throwing permission denied #230

Closed crazzmc closed 11 months ago

crazzmc commented 1 year ago

It creates the package perfectly fine, when I change the folder to .app it just will not run at all. Permission denied in terminal

java -jar packr.jar --platform mac --executable Name --classpath JarName.jar --mainclass com.x.X --output launcher_mac --icon icon.icns --bundle com.x.X --jdk mac.zip

btw i am using OpenJDK11U-jdk_x64_mac_hotspot_11.0.18_10.tar.gz

Frosty-J commented 11 months ago

Did you fix this or give up on it? It may need the executable bit set like on Linux (on which chmod +x ...).