Introduces native installer generation for Windows, macOS, and Linux using jDeploy. The packaging is driven by package.json and a GitHub Actions workflow that builds platform-specific bundles with embedded Azul Zulu FX JRE 26. Key additions: - package.json descriptor with jDeploy configuration targeting 7 platforms (excludes windows-arm64 due to missing Azul FX build) - jdeploy-maven-plugin behind a profile to sync descriptor fields from POM without requiring Node in default builds - GitHub workflow triggered by v* tags (versioned releases) or *-snapshot branches (rolling prereleases) - Version-free finalName (pholio.jar) so jar path stays stable - Launcher reads package-info.json from jdeploy tag for auto-update The spring-boot-maven-plugin's mainClass is the single source of truth for the entry point: it lands in the repackaged jar's manifest as Start-Class, which jDeploy's native launcher uses to bootstrap.
36 lines
738 B
JSON
36 lines
738 B
JSON
{
|
|
"name": "pholio",
|
|
"version": "0.1.0-SNAPSHOT",
|
|
"description": "High-volume desktop photo and media library manager",
|
|
"author": "Christophe Lallement",
|
|
"repository": "https://github.com/Imag-In/pholio",
|
|
"bin": {
|
|
"pholio": "jdeploy-bundle/jdeploy.js"
|
|
},
|
|
"files": [
|
|
"jdeploy-bundle"
|
|
],
|
|
"preferGlobal": true,
|
|
"jdeploy": {
|
|
"jar": "target/pholio.jar",
|
|
"javaVersion": "26",
|
|
"javafx": true,
|
|
"jdk": false,
|
|
"title": "Pholio",
|
|
"args": [
|
|
"-Djdeploy.file.limit=8192"
|
|
],
|
|
"downloadPage": {
|
|
"platforms": [
|
|
"mac-arm64",
|
|
"mac-x64",
|
|
"windows-x64",
|
|
"linux-x64",
|
|
"linux-arm64",
|
|
"debian-x64",
|
|
"debian-arm64"
|
|
]
|
|
}
|
|
}
|
|
}
|