Remove unix changes, they can go in EXPERIMENTAL-debian

This commit is contained in:
idk
2021-07-23 19:39:07 -04:00
parent 99f6029578
commit f54d989ea7
6 changed files with 14 additions and 39 deletions

View File

@ -217,12 +217,12 @@ checkinstall: version
--pkgrelease=1 \
--pkgsource="https://i2pgit.org/i2p-hackers/i2p.firefox" \
--maintainer="$(SIGNER)" \
--requires="firefox,wget,i2p,i2p-router" \
--requires="firefox,wget" \
--suggests="i2p,i2p-router,syndie,tor,tsocks" \
--nodoc \
--deldoc=yes \
--deldesc=yes \
--backup=no
su3: jpackage
su3: distclean jpackage
su3-tools -name "I2P-Profile-Installer-$(PROFILE_VERSION)" -signer "$(SIGNER)" -version "$(I2P_VERSION)"

View File

@ -127,9 +127,9 @@ End-to-End Windows build process using WSL
with your `%JAVA_HOME%` environment variable configured and `%JAVA_HOME%/bin` on
your `%PATH%`. You need to have Apache Ant installed and configured with `%ANT_HOME%`
environment variable configured and `%ANT_HOME%/bin` on your `%PATH%`. You must have
Cygwin installed. You must have `NSIS.exe` installed and available on your `%PATH%`.
You must have Git for Windows installed. When installing git for Windows, you should
select "Checkout as is, commit as is" and leave line-endings alone.
Cygwin installed. You must have `NSIS.exe` installed and `makensis` available on your
`%PATH%`. You must have Git for Windows installed. When installing git for Windows,
you should select "Checkout as is, commit as is" and leave line-endings alone.
1. [Set up Windows Subsystem for Linux per Microsoft's instructions](https://docs.microsoft.com/en-us/windows/wsl/install-win10#manual-installation-steps)
2. [Install Ubuntu Focal per Microsoft's instructions](https://www.microsoft.com/store/apps/9n6svws3rx71)
@ -163,8 +163,8 @@ End-to-End Windows build process using Cygwin
with your `%JAVA_HOME%` environment variable configured and `%JAVA_HOME%/bin` on
your `%PATH%`. You need to have Apache Ant installed and configured with `%ANT_HOME%`
environment variable configured and `%ANT_HOME%/bin` on your `%PATH%`. You must have
Cygwin installed. You must have `NSIS.exe` installed and available on your `%PATH%`.
You must have Git for Windows installed. When installing git for Windows, you should
WSL and git bash installed. You must have `NSIS.exe` installed and `makensis` available on your
`%PATH%`. You must have Git for Windows installed. When installing git for Windows, you should
select "Checkout as is, commit as is" and leave line-endings alone.
TODO: Add links to the respective instructions for each of these.

View File

@ -3,7 +3,7 @@ Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Exec=/usr/local/bin/i2psite
Name=Edit I2P Site
Categories=Network;
Exec=/usr/local/bin/i2pconfig
Name=I2P Configuration
Categories=Network;WebBrowser;
Icon=/var/lib/i2pbrowser/icons/ui2pbrowser_icon.ico

View File

@ -5,11 +5,7 @@ if [ -f "/etc/i2pbrowser/i2pbrowserrc" ]; then
fi
if [ ! -z $I2PROUTER ]; then
echo "$I2PROUTER" "$I2PCOMMAND"
http_proxy=http://127.0.0.1:4444 curl http://proxy.i2p || "$I2PROUTER" "$I2PCOMMAND"
else if [ -d "I2P/bin" ]; then
http_proxy=http://127.0.0.1:4444 curl http://proxy.i2p || ./I2P/bin/I2P; \
echo "running the jpackaged I2P router since we can't find another one to use."
"$I2PROUTER" start
fi
if [ -z $BROWSING_PROFILE ]; then
@ -19,8 +15,6 @@ fi
if [ ! -d "$BROWSING_PROFILE" ]; then
mkdir -p "$BROWSING_PROFILE"
cp -vr /var/lib/i2pbrowser/profile/* "$BROWSING_PROFILE"
else
cp -vr /var/lib/i2pbrowser/profile/extensions/* "$BROWSING_PROFILE/extensions"
fi
if [ ! -f "$BROWSING_PROFILE/user.js" ]; then

View File

@ -1,29 +1,17 @@
I2PROUTER=$(which i2prouter)
I2PCOMMAND="start"
if [ -z $I2PROUTER ]; then
I2PROUTER=/usr/sbin/i2prouter
I2PCOMMAND="start"
fi
if [ ! -f $I2PROUTER ]; then
I2PROUTER="/opt/i2p/bin/I2P"
I2PCOMMAND=""
fi
if [ ! -f $I2PROUTER ]; then
I2PROUTER="$HOME/i2p/i2prouter"
I2PCOMMAND="start"
fi
if [ ! -f $I2PROUTER ]; then
I2PROUTER=""
I2PCOMMAND=""
echo "no i2prouter detected"
fi
wget -q -O - "http://localhost:7657" >/dev/null && I2PROUTER="" && I2PCOMMAND=""
echo command: "$I2PROUTER" "$I2PCOMMAND"
wget -q -O - "http://localhost:7657" >/dev/null && I2PROUTER=""
echo "$I2PROUTER"

View File

@ -5,12 +5,7 @@ if [ -f "/etc/i2pbrowser/i2pbrowserrc" ]; then
fi
if [ ! -z $I2PROUTER ]; then
echo "$I2PROUTER" "$I2PCOMMAND"
http_proxy=http://127.0.0.1:4444 curl http://proxy.i2p || "$I2PROUTER" "$I2PCOMMAND"
else if [ -d "I2P/bin" ]; then
http_proxy=http://127.0.0.1:4444 curl http://proxy.i2p || ./I2P/bin/I2P; \
echo "running the jpackaged I2P router since we can't find another one to use."
"$I2PROUTER" start
fi
if [ -f "$HOME/.i2p/router.config" ]; then
@ -35,8 +30,6 @@ fi
if [ ! -d "$CONFIGURING_PROFILE" ]; then
mkdir -p "$CONFIGURING_PROFILE"
cp -vr /var/lib/i2pbrowser/app-profile/* "$CONFIGURING_PROFILE"
else
cp -vr /var/lib/i2pbrowser/profile/extensions/* "$CONFIGURING_PROFILE/extensions"
fi
if [ ! -f "$CONFIGURING_PROFILE/user.js" ]; then