echo on for a little while
This commit is contained in:
@@ -416,11 +416,5 @@ SectionEnd
|
|||||||
|
|
||||||
Function LaunchLink
|
Function LaunchLink
|
||||||
#ExecShell "" "$SMPROGRAMS\${APPNAME}\${APPNAME}.lnk"
|
#ExecShell "" "$SMPROGRAMS\${APPNAME}\${APPNAME}.lnk"
|
||||||
System::Call 'Kernel32::SetEnvironmentVariable(t, t)i ("ProgramFiles", "$PROGRAMFILES64").r0'
|
Exec "$INSTDIR\i2pbrowser.bat"
|
||||||
StrCmp $0 0 error
|
|
||||||
Exec "$INSTDIR\i2pbrowser.bat"
|
|
||||||
Goto done
|
|
||||||
error:
|
|
||||||
MessageBox MB_OK "Can't set environment variable"
|
|
||||||
done:
|
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
@echo off
|
@echo on
|
||||||
|
|
||||||
|
if not exist "%ProgramFiles%\I2P\" (
|
||||||
|
set ProgramFiles="C:\Program Files"
|
||||||
|
)
|
||||||
|
|
||||||
if exist "%ProgramFiles%\I2P\jpackaged" (
|
if exist "%ProgramFiles%\I2P\jpackaged" (
|
||||||
start "i2p" /D "%LOCALAPPDATA%\I2P" "%ProgramFiles%\I2P\i2p.exe"
|
start "i2p" /D "%LOCALAPPDATA%\I2P" "%ProgramFiles%\I2P\i2p.exe"
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
@echo off
|
@echo on
|
||||||
|
|
||||||
|
if not exist "%ProgramFiles%\I2P\" (
|
||||||
|
set ProgramFiles="C:\Program Files"
|
||||||
|
)
|
||||||
|
|
||||||
if exist "%ProgramFiles%\I2P\jpackaged" (
|
if exist "%ProgramFiles%\I2P\jpackaged" (
|
||||||
start "i2p" /D "%LOCALAPPDATA%\I2P" "%ProgramFiles%\I2P\i2p.exe"
|
start "i2p" /D "%LOCALAPPDATA%\I2P" "%ProgramFiles%\I2P\i2p.exe"
|
||||||
|
|||||||
Reference in New Issue
Block a user