Compare commits

..

No commits in common. '0e1acdfc20874ca31fc362501ec30e743c8c6f99' and 'f0b382802fb72f3b33577534f7d4731e065da449' have entirely different histories.

@ -2,9 +2,7 @@
!define ZERONAME "I2P-Zero"
!define I2P64INSTDIR "$PROGRAMFILES64\I2P\"
!define I2P32INSTDIR "$PROGRAMFILES32\I2P\"
!define ZEROINSTDIR "$PROGRAMFILES64\${ZERONAME}\"
# Include the logic library for checking file exists.
!include LogicLib.nsh
!define ZEROINSTDIR "$PROGRAMFILES64\${APPNAME}\"
function buildZero
!system "echo '#! /usr/bin/env sh' > build-docker.sh"
@ -26,15 +24,15 @@ function buildZero
functionEnd
function installZero
${If} ${FileExists} "${I2P64INSTDIR}\I2P.exe"
SetOutPath "${ZEROINSTDIR}"
${If} ${FileExists} "${I2P32INSTDIR}\I2P.exe"
SetOutPath "${ZEROINSTDIR}"
${If} ${FileExists} `$I2P64INSTDIR\I2P.exe`
SetOutPath $ZEROINSTDIR
${If} ${FileExists} `$I2P32INSTDIR\I2P.exe`
SetOutPath $ZEROINSTDIR
${Else}
SetOutPath "${ZEROINSTDIR}"
SetOutPath $ZEROINSTDIR
File /a /r "./I2P-Zero/"
CreateShortcut "$SMPROGRAMS\Run I2P-Zero.lnk" "${ZEROINSTDIR}\router\i2p-zero.exe"
CreateShortcut "$SMPROGRAMS\Run I2P-Zero.lnk" "$ZEROINSTDIR\router\i2p-zero.exe"
${EndIf}
functionEnd

Loading…
Cancel
Save