add cmd script(valid in both batch and bash) to plugin directory, allowing it to be launched by adding it to routerconsole.browser

This commit is contained in:
idk
2023-01-01 02:43:52 +00:00
parent cdc51127e0
commit 60303ae33c
6 changed files with 8 additions and 5 deletions

3
plugin/i2pbrowser.cmd Normal file
View File

@ -0,0 +1,3 @@
:; dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd); java -cp "$dir"/lib/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser; exit $?
@ECHO OFF
java -cp %cd%/lib/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser

View File

@ -1,7 +1,7 @@
#! /usr/bin/env sh
ant distclean
ant jar
cd src && ant jar && cd ..
rm -rf i2p.chromium.base.profile i2p.chromium.profile i2p.firefox.base.profile i2p.firefox.profile i2p.firefox.usability.profile tor-browser_en-US

View File

@ -1,7 +1,7 @@
#! /usr/bin/env sh
ant distclean
ant jar
cd src && ant jar && cd ..
rm -rf i2p.chromium.base.profile i2p.chromium.profile i2p.firefox.base.profile i2p.firefox.profile i2p.firefox.usability.profile tor-browser_en-US

View File

@ -1,7 +1,7 @@
#! /usr/bin/env sh
ant distclean
ant jar
cd src && ant jar && cd ..
rm -rf i2p.chromium.base.profile i2p.chromium.profile i2p.firefox.base.profile i2p.firefox.profile i2p.firefox.usability.profile tor-browser_en-US

View File

@ -1,7 +1,7 @@
#! /usr/bin/env sh
ant distclean
ant jar
cd src && ant jar && cd ..
rm -rf i2p.chromium.base.profile i2p.chromium.profile i2p.firefox.base.profile i2p.firefox.profile i2p.firefox.usability.profile

View File

@ -1,7 +1,7 @@
#! /usr/bin/env sh
ant distclean
ant jar
cd src && ant jar && cd ..
rm -rf i2p.chromium.base.profile i2p.chromium.profile i2p.firefox.base.profile i2p.firefox.profile i2p.firefox.usability.profile tor-browser_en-US