-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
[Feature Request] Create App Package for MacOS #688
Comments
I'm actually working on this. One of the issues that you will encounter is related to attributes through xattr. I'm on the road at the moment and I don't recall the syntax, however a MacOS needs to set these attributes once the App folder is on the client machine. This is important because of Apple's new security |
When you're back take a look and post what you're referring to here. I'm not sure we're taking the same path to the solution. |
I messaged you in Discord with some background info. Here's a possible starting point as a script to run on the macOS client to create a working App from a pre-generated bundle-
|
Started pull request. I created a config file with parameters to be passed to the package app on a mac to correctly bundle everything. I'll zip up and add the app bundle it created to the directory as well. I used this file to create an app bundle with a clean install folder that only had the jar, resources folder, and files necessary for the icons. I'm not sure how to integrate this into the larger build process. |
I'm creating a ticket so I can hopefully collaborate with others working on this.
I'm currently able to create a package with the jpackage tool. However, when I try to launch the app it doesn't work.
This is the command I'm currently trying
I suspect two potential problems.
jpackage --name VPin-Studio --input . --app-version 3.11.2 --main-jar vpin-studio-ui.jar --main-class Launcher
--resource-dir package/macos --type dmg --icon VpinStudio.icns
The main-class I'm passing to the tool is wrong.
I need to provide a specific JRE runtime.
Attached is the jpackage help file.
jpackage-help.txt
The text was updated successfully, but these errors were encountered: