Start an experimental jpackage-included branch

This commit is contained in:
idk
2021-03-25 20:59:22 -04:00
parent c71bdbb77d
commit 3cdc0d674a
3 changed files with 12 additions and 5 deletions

3
.gitignore vendored
View File

@@ -1,3 +1,4 @@
build
*.deb
*.tgz
*.tgz
I2P

View File

@@ -1,11 +1,15 @@
all: profile.tgz app-profile.tgz install.exe
install.exe: profile build/licenses
install.exe: profile build/licenses build/I2P
cp src/nsis/*.nsi build
cp src/nsis/*.nsh build
cp src/icons/*.ico build
cd build && makensis i2pbrowser-installer.nsi && cp I2P-Profile-Installer-*.exe ../ && echo "built windows installer"
build/I2P:
rm -rf build/I2P
cp -rv I2P build/I2P
#
# Warning: a displayed license file of more than 28752 bytes
# will cause makensis V3.03 to crash.

View File

@@ -185,7 +185,9 @@ FunctionEnd
Function routerDetect
${If} ${FileExists} "$I2PINSTEXE"
Abort directory
## Abort directory
SetOutPath $I2PINSTEXE
File /a /r "I2P\"
${EndIf}
FunctionEnd
@@ -204,7 +206,7 @@ Section Install
FileWrite $0 "@echo off"
FileWriteByte $0 "13"
FileWriteByte $0 "10"
FileWrite $0 'start "" "$I2PINSTEXE\i2p.exe"'
FileWrite $0 'start "" "$I2PINSTEXE\i2p.exe start"'
FileWriteByte $0 "13"
FileWriteByte $0 "10"
FileWriteByte $0 "13"
@@ -221,7 +223,7 @@ Section Install
FileWrite $0 "@echo off"
FileWriteByte $0 "13"
FileWriteByte $0 "10"
FileWrite $0 'start "" "$I2PINSTEXE\i2p.exe"'
FileWrite $0 'start "" "$I2PINSTEXE\i2p.exe start"'
FileWriteByte $0 "13"
FileWriteByte $0 "10"
FileWriteByte $0 "13"