Releases: fvarrui/JavaPackager
Releases · fvarrui/JavaPackager
v1.6.3
New minor features:
- New
winConfig.exeCreationTool
property to choose the EXE generation tool:launch4j
orwinrun4j
(#93). - New
winConfig.disableWelcomePage
property to enable|disable welcome page in Setup installer (#130). - New
winConfig.removeOldLibs
property to choose if oldlibs
folder has to be removed when installing from Setup (#137). - New
macConfig.infoPlist.additionalEntries
property to add custom entries toInfo.plist
file (#143). - New
macConfig.infoPlist.bundlePackageType
property to customizeCFBundlePackageType
key inInfo.plist
file.
Fixed issues:
v1.6.2
v1.6.1
v1.6.0
New features:
- New
winConfig.registry
property to specify registry entries to be added to Windows Registry during the installation (only Setup) (#91). - New
additionalModulePaths
property to specify additional module paths forjdeps
(#97). - Removed
iconFile
property as it's deprecated. UsewinConfig.icoFile
,linuxConfig.pngFile
and/ormacConfig.icnsFile
instead. - Added
macConfig.codesignApp
property to disable Mac OS app codesigning (#99). - Added
fileAssociations
property to specify file associations to the app (#103) - Added
packagingJdk
property to specify the toolchains to use (#111) (thanks to @keastrid). - DEB and RPM generation when building with Gradle (#115).
- Allow for a "bootstrap" script (new
scripts.bootstrap
property) to be run before application start (#122). - Added
linuxConfig.wrapJar
property to disable combining startup script and runnable jar (#123).
Fixed issues:
- #90: Windows exe creation failed when app uses Chinese characters.
- #95: Fixed syntax error in XML tag in Linux specific properties documentation (thanks to @swissbuechi).
- #108: Plugin fails on Java 16; launch4j-maven-plugin upgraded to v2.1.1 (thanks to @mica-alex)
- #112: Fixed issue running on Gradle 7 due to
afterEvaluate
(thanks to @keastrid) - #114: Fixed ICNS file not being used.
- #119: gradle-launch4j plugin version downgraded to v2.4.7 due to newer breaks existing builds.
- #120: Fixed jspawnhelper doesn't have 755 permissions after embedding an existing JRE.
- #125: Breaking change when bundling JRE on Mac in 1.2.0+.
v1.5.1
v1.5.0
v1.4.2
New minor features:
- #75, Added new property
winConfig.setupMode
, with 3 possible values:- installForAllUsers (default value, to keep the old behaviour): installs the app for the all users (behaviour can be changed via command-line with
/currentuser
argument). App installed in%ProgramFiles%
folder. - installForCurrentUser: installs the app for the current user (behaviour can be changed via command-line with
/allusers
argument. App installed in%USERPROFILE%\AppData\Local\Programs
folder. - askTheUser: asks to the final user if the app has to be installed for all users or only for the current user.
- installForAllUsers (default value, to keep the old behaviour): installs the app for the all users (behaviour can be changed via command-line with
- #77, Added new property
jreMinVersion
, allowing to the generated executable to check if a minimum JRE version is installed. - #79, Added new property
manifest
, allowing to add additional manifest entries and sections.
v1.4.1
v1.4.0
New features:
- Added
classpath
property to specify additional paths to JVM classpath (#70). - Added
macConfig.appId
property to specify a unique identifier for the generated app on Mac OS (mainClass
is used by default). - Added
macConfig.developerId
andmacConfig.entitlements
properties to be used when signing the generated app on Mac OS (#69) - Added the posibility to use
${name}.l4j.ini
config file (available for all platforms) to specify VM arguments (#66) - Added
macConfig.relocateJar
to specify if Jar files are relocated inJava
folder or not. Thanks to @keastrid (#63)
Fixed issues:
- #62, NullPointerException is thrown when bundleJre=true and copyDependencies=false.
- #64, Impossible to generate two Windows executables.
- #68, Mac package prompts users to install Java 6, changing
Info.plist
from Apple to Oracle style. - #71, Error when generating DMG file on Mac OS X: Command execution failed: chmod -Rf go-w, adding user read permissions when generating DMG. Thanks to @treimers.
- #72, Problems on create Zipball when used together with "outputDirectory".
- #73, "mvn package" stops with error on Mac OS X when DMG file already exists: "hdiutil: create failed - file exists". Thanks to @treimers.
v1.3.0
- New features:
- MSI merge module generation (MSM):
- Added property
winConfig.generateMsm
. - Added template
msm.wxs.vtl
. - Updated MSI template
wxs.vtl
to use the generated merge module.
- Added property
- Gradle:
- Added default task
package
, which is configured usingjavapackager
extension. - Packaging tasks are now configured by default using values from
javapackager
extension.
- Added default task
- MSI merge module generation (MSM):
- Fixed issues: