Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4ceddb976d | ||
|
|
8f14378aee | ||
|
|
c5af86adfd | ||
|
|
9469293bcf | ||
|
|
44ce8335a1 | ||
|
|
8a9ce211f3 | ||
|
|
037250ae46 | ||
|
|
f93c4660da | ||
|
|
2f516f0c11 | ||
|
|
f3d871d64b |
1
build.sh
1
build.sh
@@ -60,6 +60,7 @@ if [ ! -d "I2P" ]; then
|
|||||||
--resource-dir build \
|
--resource-dir build \
|
||||||
--app-content src/I2P/config \
|
--app-content src/I2P/config \
|
||||||
--app-content src/unix/torbrowser.sh \
|
--app-content src/unix/torbrowser.sh \
|
||||||
|
--app-content src/win/torbrowser-windows.sh \
|
||||||
--app-content src/icons/windowsUIToopie2.png \
|
--app-content src/icons/windowsUIToopie2.png \
|
||||||
--app-content src/icons/ui2pbrowser_icon.ico \
|
--app-content src/icons/ui2pbrowser_icon.ico \
|
||||||
--icon src/icons/windowsUIToopie2.png \
|
--icon src/icons/windowsUIToopie2.png \
|
||||||
|
|||||||
@@ -50,3 +50,8 @@ sleep 2s
|
|||||||
ZIPCHECKSUM=$(sha256sum "I2P.tar.gz")
|
ZIPCHECKSUM=$(sha256sum "I2P.tar.gz")
|
||||||
echo github-release upload -R -u "$GITHUB_USERNAME" -r "i2p.firefox" -f "I2P.tar.gz" -l "$ZIPCHECKSUM" -t "$TODAYSDATE" -n "I2P.tar.gz"
|
echo github-release upload -R -u "$GITHUB_USERNAME" -r "i2p.firefox" -f "I2P.tar.gz" -l "$ZIPCHECKSUM" -t "$TODAYSDATE" -n "I2P.tar.gz"
|
||||||
github-release upload -R -u "$GITHUB_USERNAME" -r "i2p.firefox" -f "I2P.tar.gz" -l "$ZIPCHECKSUM" -t "$TODAYSDATE" -n "I2P.tar.gz"
|
github-release upload -R -u "$GITHUB_USERNAME" -r "i2p.firefox" -f "I2P.tar.gz" -l "$ZIPCHECKSUM" -t "$TODAYSDATE" -n "I2P.tar.gz"
|
||||||
|
|
||||||
|
./zip.sh
|
||||||
|
WINZIPCHECKSUM=$(sha256sum "I2P-windows-portable.zip")
|
||||||
|
echo github-release upload -R -u "$GITHUB_USERNAME" -r "i2p.firefox" -f "I2P-windows-portable.zip" -l "$WINZIPCHECKSUM" -t "$TODAYSDATE" -n "I2P-windows-portable.zip"
|
||||||
|
github-release upload -R -u "$GITHUB_USERNAME" -r "i2p.firefox" -f "I2P-windows-portable.zip" -l "$WINZIPCHECKSUM" -t "$TODAYSDATE" -n "I2P-windows-portable.zip"
|
||||||
|
|||||||
1
daily.sh
1
daily.sh
@@ -51,7 +51,6 @@ powershell Compress-Archive -force I2P I2P.zip
|
|||||||
ZIPCHECKSUM=$(sha256sum "I2P.zip")
|
ZIPCHECKSUM=$(sha256sum "I2P.zip")
|
||||||
echo github-release upload -R -u "$GITHUB_USERNAME" -r "i2p.firefox" -f "I2P.zip" -l "$ZIPCHECKSUM" -t "$TODAYSDATE" -n "I2P.zip"
|
echo github-release upload -R -u "$GITHUB_USERNAME" -r "i2p.firefox" -f "I2P.zip" -l "$ZIPCHECKSUM" -t "$TODAYSDATE" -n "I2P.zip"
|
||||||
github-release upload -R -u "$GITHUB_USERNAME" -r "i2p.firefox" -f "I2P.zip" -l "$ZIPCHECKSUM" -t "$TODAYSDATE" -n "I2P.zip"
|
github-release upload -R -u "$GITHUB_USERNAME" -r "i2p.firefox" -f "I2P.zip" -l "$ZIPCHECKSUM" -t "$TODAYSDATE" -n "I2P.zip"
|
||||||
|
|
||||||
TARCHECKSUM=$(sha256sum "../i2p.i2p.jpackage-build.tar.gz")
|
TARCHECKSUM=$(sha256sum "../i2p.i2p.jpackage-build.tar.gz")
|
||||||
echo github-release upload -R -u "$GITHUB_USERNAME" -r "i2p.firefox" -f "../i2p.i2p.jpackage-build.tar.gz" -l "Upstream I2P Router source code $TARCHECKSUM" -t "$TODAYSDATE" -n "i2p.i2p.jpackage-build.tar.gz"
|
echo github-release upload -R -u "$GITHUB_USERNAME" -r "i2p.firefox" -f "../i2p.i2p.jpackage-build.tar.gz" -l "Upstream I2P Router source code $TARCHECKSUM" -t "$TODAYSDATE" -n "i2p.i2p.jpackage-build.tar.gz"
|
||||||
github-release upload -R -u "$GITHUB_USERNAME" -r "i2p.firefox" -f "../i2p.i2p.jpackage-build.tar.gz" -l "Upstream I2P Router source code $TARCHECKSUM" -t "$TODAYSDATE" -n "i2p.i2p.jpackage-build.tar.gz"
|
github-release upload -R -u "$GITHUB_USERNAME" -r "i2p.firefox" -f "../i2p.i2p.jpackage-build.tar.gz" -l "Upstream I2P Router source code $TARCHECKSUM" -t "$TODAYSDATE" -n "i2p.i2p.jpackage-build.tar.gz"
|
||||||
|
|||||||
@@ -24,4 +24,5 @@ fi
|
|||||||
|
|
||||||
echo github-release download -u "$GITHUB_USERNAME" -r "i2p.firefox" -n "I2P.zip" -t "$TODAYSDATE"
|
echo github-release download -u "$GITHUB_USERNAME" -r "i2p.firefox" -n "I2P.zip" -t "$TODAYSDATE"
|
||||||
github-release download -u "$GITHUB_USERNAME" -r "i2p.firefox" -n "I2P.zip" -t "$TODAYSDATE"
|
github-release download -u "$GITHUB_USERNAME" -r "i2p.firefox" -n "I2P.zip" -t "$TODAYSDATE"
|
||||||
unzip I2P.zip
|
unzip I2P.zip
|
||||||
|
find I2P -type d -exec chmod 755 {} \;
|
||||||
4
src/win/torbrowser.sh → src/win/torbrowser-windows.sh
Normal file → Executable file
4
src/win/torbrowser.sh → src/win/torbrowser-windows.sh
Normal file → Executable file
@@ -27,6 +27,6 @@ gpgv --keyring ./tor.keyring "torbrowser-install-win64-${version}_${locale}.exe.
|
|||||||
#tar xvJf "torbrowser-install-win64-${version}_${locale}.exe"
|
#tar xvJf "torbrowser-install-win64-${version}_${locale}.exe"
|
||||||
#for n in `seq 1 2000`; do echo $n; dd ibs=256 if="torbrowser-install-win64-${version}_${locale}.exe" count=2 skip=$n | file - ; done 2>/dev/null |less
|
#for n in `seq 1 2000`; do echo $n; dd ibs=256 if="torbrowser-install-win64-${version}_${locale}.exe" count=2 skip=$n | file - ; done 2>/dev/null |less
|
||||||
#zip -FF "torbrowser-install-win64-${version}_${locale}.exe" --out extracted.zip
|
#zip -FF "torbrowser-install-win64-${version}_${locale}.exe" --out extracted.zip
|
||||||
export WINEPREFIX=$(pwd)/tmp
|
export WINEPREFIX=$(pwd)/../tmp
|
||||||
wine "torbrowser-install-win64-${version}_${locale}.exe" /S /D .
|
wine "torbrowser-install-win64-${version}_${locale}.exe" /S /D .
|
||||||
cp -vr "$WINEPREFIX/drive_c/users/idk/Desktop/Tor Browser/" "I2P/Tor Browser"
|
cp -vr "$WINEPREFIX/drive_c/users/idk/Desktop/Tor Browser/" "Tor Browser"
|
||||||
34
zip.sh
Executable file
34
zip.sh
Executable file
@@ -0,0 +1,34 @@
|
|||||||
|
#! /usr/bin/env bash
|
||||||
|
|
||||||
|
SCRIPT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd -P)
|
||||||
|
cd "$SCRIPT_DIR" || exit 1
|
||||||
|
|
||||||
|
. "$SCRIPT_DIR/config.sh"
|
||||||
|
|
||||||
|
if [ -f "$SCRIPT_DIR/config_override.sh" ]; then
|
||||||
|
. "$SCRIPT_DIR/config_override.sh"
|
||||||
|
fi
|
||||||
|
./clean.sh
|
||||||
|
wsl make distclean
|
||||||
|
./build.sh
|
||||||
|
cd "$SCRIPT_DIR/I2P" || exit 1
|
||||||
|
|
||||||
|
TORSOCKS=$(which torsocks)
|
||||||
|
if [ -f "${TORSOCKS}" ]; then
|
||||||
|
. "${TORSOCKS}" on
|
||||||
|
fi
|
||||||
|
#./torbrowser-windows.sh
|
||||||
|
../src/win/torbrowser-windows.sh
|
||||||
|
version="$(curl -s https://aus1.torproject.org/torbrowser/update_3/release/downloads.json | jq -r ".version")"
|
||||||
|
. "${TORSOCKS}" off
|
||||||
|
locale="en-US" # mention your locale. default = en-US
|
||||||
|
if [ -d /etc/default/locale ]; then
|
||||||
|
. /etc/default/locale
|
||||||
|
locale=$(echo "${LANG}" | cut -d . -f1)
|
||||||
|
fi
|
||||||
|
rm -vrf "tor-browser_${locale}"
|
||||||
|
cd "$SCRIPT_DIR" || exit 1
|
||||||
|
|
||||||
|
rm -rf I2P-portable && cp -r I2P I2P-portable
|
||||||
|
#powershell Compress-Archive -force I2P-portable I2P-windows-portable.zip
|
||||||
|
zip -r I2P-windows-portable.zip I2P-portable
|
||||||
Reference in New Issue
Block a user