Remove debian.sh and put it in build.xml instead

This commit is contained in:
eyedeekay
2024-02-01 15:44:17 -05:00
parent b7bb0b3da1
commit 83f49f5b12
3 changed files with 16 additions and 23 deletions

View File

@ -513,10 +513,20 @@ Linux(because the top command will be run and the script will exit).\n\nBoth det
</exec> </exec>
</target> </target>
<target name="debian" depends="jar"> <target name="debian" depends="jar">
<exec executable="bash" failonerror="true"> <exec executable="jpackage" failonerror="true">
<arg value="--verbose"/> <arg value="--type"/> <arg value="deb"/>
<arg value="-c"/> <arg value="--linux-deb-maintainer"/> <arg value="hankhill19580@gmail.com"/>
<arg value="./debian.sh"/> <arg value="--linux-menu-group"/> <arg value="Network;WebBrowser;P2P"/>
<arg value="--linux-app-category"/> <arg value="Network"/>
<arg value="--linux-package-deps"/> <arg value="firefox|chromium|brave|firefox-esr|librewolf|icecat"/>
<arg value="--linux-shortcut"/>
<arg value="--license-file"/> <arg value="LICENSE.md"/>
<arg value="--name"/> <arg value="i2pbrowser"/>
<arg value="--icon"/> <arg value="src/icon.png"/>
<arg value="--app-version"/> <arg value="${release.number}"/>
<arg value="--input"/> <arg value="src/build"/>
<arg value="--main-jar"/> <arg value="i2pfirefox.jar"/>
<arg value="--main-class"/> <arg value="net.i2p.i2pfirefox.I2PBrowser"/>
</exec> </exec>
</target> </target>
<target name="fedora" depends="jar"> <target name="fedora" depends="jar">

View File

@ -1,17 +0,0 @@
#! /usr/bin/env sh
. ./config.sh
jpackage --verbose \
--type deb \
--linux-deb-maintainer hankhill19580@gmail.com \
--linux-menu-group "Network;WebBrowser;P2P" \
--linux-app-category "Network" \
--linux-package-deps "firefox|chromium|brave|firefox-esr|librewolf|icecat" \
--linux-shortcut \
--license-file LICENSE.md \
--name i2pbrowser \
--icon src/icon.png \
--app-version "$GITHUB_TAG" \
--input src/build \
--main-jar i2pfirefox.jar \
--main-class net.i2p.i2pfirefox.I2PBrowser

View File

@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit! #Build Number for ANT. Do not edit!
#Thu Feb 01 15:16:33 EST 2024 #Thu Feb 01 15:38:43 EST 2024
build.number=597 build.number=600