From c678c6eca22ee7f1f1c109a40f94887135140ed1 Mon Sep 17 00:00:00 2001 From: idk Date: Mon, 23 Jan 2023 16:50:03 +0000 Subject: [PATCH] fix paths in moved buildscripts --- buildscripts/build.sh | 4 ++-- buildscripts/daily-linux.sh | 2 +- buildscripts/daily-portable-windows.sh | 2 +- buildscripts/daily-unstable.sh | 2 +- buildscripts/daily.sh | 2 +- buildscripts/experimental.sh | 4 ++-- buildscripts/getprebuilt.sh | 2 +- buildscripts/msi.sh | 2 +- buildscripts/release.sh | 4 ++-- buildscripts/targz.sh | 4 ++-- buildscripts/unsigned.sh | 4 ++-- buildscripts/zip.sh | 7 +++---- src/nsis/i2pbrowser-jpackage.nsi | 2 +- src/nsis/i2pbrowser-version.nsi | 6 +++--- 14 files changed, 23 insertions(+), 24 deletions(-) diff --git a/buildscripts/build.sh b/buildscripts/build.sh index 66f24e1..3f4cec9 100755 --- a/buildscripts/build.sh +++ b/buildscripts/build.sh @@ -29,11 +29,11 @@ ICON="src/icons/ui2pbrowser_icon.ico" if [ "$machine" = "Mac" ]; then rm -rf I2P - ./getprebuilt.sh + ./buildscripts/getprebuilt.sh exit 0 elif [ "$machine" = "Linux" ]; then rm -rf I2P - ./getprebuilt.sh + ./buildscripts/getprebuilt.sh exit 0 elif [ "$machine" = "unix" ]; then ICON=src/icons/windowsUIToopie2.png diff --git a/buildscripts/daily-linux.sh b/buildscripts/daily-linux.sh index e48f621..947f7a7 100755 --- a/buildscripts/daily-linux.sh +++ b/buildscripts/daily-linux.sh @@ -25,7 +25,7 @@ fi # GITHUB_USERNAME=your github username git clean -fd git checkout . -./targz.sh +./buildscripts/targz.sh . "$HOME/github-release-config.sh" diff --git a/buildscripts/daily-portable-windows.sh b/buildscripts/daily-portable-windows.sh index beb1c2d..833ac9d 100755 --- a/buildscripts/daily-portable-windows.sh +++ b/buildscripts/daily-portable-windows.sh @@ -46,7 +46,7 @@ fi echo github-release release -p -u "$GITHUB_USERNAME" -r "i2p.firefox" -n "$TODAYSDATE" -d "$DESCRIPTION" -t "$TODAYSDATE" github-release release -p -u "$GITHUB_USERNAME" -r "i2p.firefox" -n "$TODAYSDATE" -d "$DESCRIPTION" -t "$TODAYSDATE" -./zip.sh +./buildscripts/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" diff --git a/buildscripts/daily-unstable.sh b/buildscripts/daily-unstable.sh index 09d137c..1a7cef8 100755 --- a/buildscripts/daily-unstable.sh +++ b/buildscripts/daily-unstable.sh @@ -25,7 +25,7 @@ fi git clean -fd git checkout . cp -v "$SCRIPT_DIR/config_override.example.sh" config_override.sh -./unsigned.sh +./buildscripts/unsigned.sh . "$HOME/github-release-config.sh" diff --git a/buildscripts/daily.sh b/buildscripts/daily.sh index 219406e..7fb18a5 100755 --- a/buildscripts/daily.sh +++ b/buildscripts/daily.sh @@ -22,7 +22,7 @@ mv "$SCRIPT_DIR/config_override.sh" "$SCRIPT_DIR/config_override.sh.bak" # GITHUB_USERNAME=your github username git clean -fd git checkout . -./unsigned.sh +./buildscripts/unsigned.sh . "$HOME/github-release-config.sh" diff --git a/buildscripts/experimental.sh b/buildscripts/experimental.sh index 94cbdbb..634340e 100755 --- a/buildscripts/experimental.sh +++ b/buildscripts/experimental.sh @@ -9,7 +9,7 @@ if [ -f "$SCRIPT_DIR/config_override.sh" ]; then . "$SCRIPT_DIR/config_override.sh" fi -./clean.sh +./buildscripts/clean.sh wsl make distclean -./build.sh +./buildscripts/build.sh wsl make \ No newline at end of file diff --git a/buildscripts/getprebuilt.sh b/buildscripts/getprebuilt.sh index 99b8c0a..2b0fc8d 100755 --- a/buildscripts/getprebuilt.sh +++ b/buildscripts/getprebuilt.sh @@ -28,4 +28,4 @@ if [ ! -f I2P.zip ]; then fi unzip I2P.zip sleep 3 -./fixperms.sh \ No newline at end of file +./buildscripts/fixperms.sh \ No newline at end of file diff --git a/buildscripts/msi.sh b/buildscripts/msi.sh index 1dca019..c4f5a99 100755 --- a/buildscripts/msi.sh +++ b/buildscripts/msi.sh @@ -8,7 +8,7 @@ cd "$SCRIPT_DIR" || exit 1 . ./config.sh . ./i2pversion -./build.sh +./buildscripts/build.sh jpackage --name I2P-MSI --app-version "$I2P_VERSION" \ --verbose \ --java-options "-Xmx512m" \ diff --git a/buildscripts/release.sh b/buildscripts/release.sh index a744b82..4d83bed 100755 --- a/buildscripts/release.sh +++ b/buildscripts/release.sh @@ -9,5 +9,5 @@ if [ -f "$SCRIPT_DIR/config_override.sh" ]; then . "$SCRIPT_DIR/config_override.sh" fi -./unsigned.sh -./sign.sh \ No newline at end of file +./buildscripts/unsigned.sh +./buildscripts/sign.sh \ No newline at end of file diff --git a/buildscripts/targz.sh b/buildscripts/targz.sh index 6c5fc3b..890372e 100755 --- a/buildscripts/targz.sh +++ b/buildscripts/targz.sh @@ -9,9 +9,9 @@ if [ -f "$SCRIPT_DIR/config_override.sh" ]; then . "$SCRIPT_DIR/config_override.sh" fi export machine=unix -./clean.sh +./buildscripts/clean.sh wsl make distclean -./build.sh +./buildscripts/build.sh cd "$SCRIPT_DIR/I2P" || exit 1 TORSOCKS=$(which torsocks) diff --git a/buildscripts/unsigned.sh b/buildscripts/unsigned.sh index 94cbdbb..634340e 100755 --- a/buildscripts/unsigned.sh +++ b/buildscripts/unsigned.sh @@ -9,7 +9,7 @@ if [ -f "$SCRIPT_DIR/config_override.sh" ]; then . "$SCRIPT_DIR/config_override.sh" fi -./clean.sh +./buildscripts/clean.sh wsl make distclean -./build.sh +./buildscripts/build.sh wsl make \ No newline at end of file diff --git a/buildscripts/zip.sh b/buildscripts/zip.sh index 13321fb..e2b2a14 100644 --- a/buildscripts/zip.sh +++ b/buildscripts/zip.sh @@ -8,17 +8,16 @@ cd "$SCRIPT_DIR" || exit 1 if [ -f "$SCRIPT_DIR/config_override.sh" ]; then . "$SCRIPT_DIR/config_override.sh" fi -./clean.sh +./buildscripts/clean.sh wsl make distclean -./build.sh -./fixperms.sh +./buildscripts/build.sh +./buildscripts/fixperms.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 diff --git a/src/nsis/i2pbrowser-jpackage.nsi b/src/nsis/i2pbrowser-jpackage.nsi index d0e4a93..31d4163 100644 --- a/src/nsis/i2pbrowser-jpackage.nsi +++ b/src/nsis/i2pbrowser-jpackage.nsi @@ -1 +1 @@ -!define I2P_VERSION 1.9.7 +!define I2P_VERSION 2.1.0 diff --git a/src/nsis/i2pbrowser-version.nsi b/src/nsis/i2pbrowser-version.nsi index 4de81b8..6e2d3ce 100644 --- a/src/nsis/i2pbrowser-version.nsi +++ b/src/nsis/i2pbrowser-version.nsi @@ -1,3 +1,3 @@ -!define VERSIONMAJOR 1 -!define VERSIONMINOR 9 -!define VERSIONBUILD 7 +!define VERSIONMAJOR 2 +!define VERSIONMINOR 1 +!define VERSIONBUILD 0