fvarrui / JavaPackager

:package: Gradle/Maven plugin to package Java applications as native Windows, MacOS, or Linux executables and create installers for them.
GNU General Public License v3.0
1.07k stars 134 forks source link

deb installation package custom installation path #302

Closed lhDream closed 1 year ago

lhDream commented 1 year ago

deb installation package to customize the installation path, which can be configured in the configuration file.

fvarrui commented 1 year ago

Hi @lhDream! Yes, that makes sense ... we can add new option linuxConfig.installationPath set to /opt by default.

fvarrui commented 1 year ago

Work in progress in branch issue-302

fvarrui commented 1 year ago

Snapshot version 1.7.3-20230706.102558-15 published in Maven Central. Could you test linuxConfig.installationPath property with DEB and RPM packages, please? Thanks!

fvarrui commented 1 year ago

Hi @lhDream! Did you test this feature?

lhDream commented 1 year ago

Hi @lhDream! Did you test this feature?

I will test it later.

lhDream commented 1 year ago

Snapshot version 1.7.3-20230706.102558-15 published in Maven Central. Could you test linuxConfig.installationPath property with DEB and RPM packages, please? Thanks!

This version 1.7.3-20230706.102558-15 does not seem to exist.

fvarrui commented 1 year ago

Snapshot versions are removed from the repo after a while.

I've just released a new version from the branch of this issue: 1.7.3-20230824.111135-18

lhDream commented 1 year ago

Hi @fvarrui After testing, both deb and rpm packages can be installed to the specified directory normally.

fvarrui commented 1 year ago

Branch issue-302 merged into devel, ready to be released in 1.7.4

fvarrui commented 1 year ago

1.7.4 released to Maven Central