#JPackage `.deb` package installation directory

1 messages · Page 1 of 1 (latest)

storm locust
#

I'm using jpackage to create a Debian package with my app inside. The problem is that I cannot no matter what I try ensure that the provided executable ends up in the Ubuntu default path (/usr/bin).

The actual executable ends up in the folder path/to/install/dir/mypackagename/bin/. When I install the package using dpkg -i package.deb it will therefore never work unless i move the executable manually. If I use the --install-dir flag of JPackage, my mypackagename folder just moves around. What is the cleanest way, if there is any to make my JPackage generated Debian package "work" without the user making any changes

Edit: command used:

 jpackage -t deb --linux-package-name test-cli --linux-deb-maintainer [email protected] --linux-app-category utils --about-url https://myurl.com/ --name test-cli  --input . --main-jar cli-4.20.0-shaded.jar

Thanks!

rancid sandalBOT
#

<@&987246399047479336> please have a look, thanks.