mirror of
https://github.com/i2p/i2p.firefox.git
synced 2024-12-06 19:16:37 +01:00
Make the batch scripts launch the router on Windows. If it's already running nothing happens when you run i2p.exe so it's safe to just start it from the .bat script.
This commit is contained in:
@@ -202,12 +202,11 @@ Section Install
|
||||
# default Firefox path.
|
||||
FileOpen $0 "$INSTDIR\i2pbrowser.bat" w
|
||||
FileWrite $0 "@echo off"
|
||||
# TODO: Test this thoroughly and enable.
|
||||
# FileWriteByte $0 "13"
|
||||
# FileWriteByte $0 "10"
|
||||
# FileWrite $0 'start "" "$I2PINSTEXE\i2prouter" start'
|
||||
# FileWriteByte $0 "13"
|
||||
# FileWriteByte $0 "10"
|
||||
FileWriteByte $0 "13"
|
||||
FileWriteByte $0 "10"
|
||||
FileWrite $0 'start "" "$I2PINSTEXE\i2p.exe"'
|
||||
FileWriteByte $0 "13"
|
||||
FileWriteByte $0 "10"
|
||||
FileWriteByte $0 "13"
|
||||
FileWriteByte $0 "10"
|
||||
FileWrite $0 'start "" "$FFINSTEXE\firefox.exe" -no-remote -profile "$LOCALAPPDATA\${APPNAME}\firefox.profile.i2p" -url %1'
|
||||
@@ -220,12 +219,11 @@ Section Install
|
||||
|
||||
FileOpen $0 "$INSTDIR\i2pbrowser-private.bat" w
|
||||
FileWrite $0 "@echo off"
|
||||
# TODO: Test this thoroughly and enable..
|
||||
# FileWriteByte $0 "13"
|
||||
# FileWriteByte $0 "10"
|
||||
# FileWrite $0 'start "" "$I2PINSTEXE\i2prouter" start'
|
||||
# FileWriteByte $0 "13"
|
||||
# FileWriteByte $0 "10"
|
||||
FileWriteByte $0 "13"
|
||||
FileWriteByte $0 "10"
|
||||
FileWrite $0 'start "" "$I2PINSTEXE\i2p.exe"'
|
||||
FileWriteByte $0 "13"
|
||||
FileWriteByte $0 "10"
|
||||
FileWriteByte $0 "13"
|
||||
FileWriteByte $0 "10"
|
||||
FileWrite $0 'start "" "$FFINSTEXE\firefox.exe" -no-remote -profile "$LOCALAPPDATA\${APPNAME}\firefox.profile.i2p" -private-window about:blank'
|
||||
@@ -242,12 +240,11 @@ Section Install
|
||||
# default Firefox path.
|
||||
FileOpen $0 "$INSTDIR\i2pconfig.bat" w
|
||||
FileWrite $0 "@echo off"
|
||||
# TODO: Test this thoroughly and enable.
|
||||
# FileWriteByte $0 "13"
|
||||
# FileWriteByte $0 "10"
|
||||
# FileWrite $0 'start "" "$I2PINSTEXE\i2prouter" start'
|
||||
# FileWriteByte $0 "13"
|
||||
# FileWriteByte $0 "10"
|
||||
FileWriteByte $0 "13"
|
||||
FileWriteByte $0 "10"
|
||||
FileWrite $0 'start "" "$I2PINSTEXE\i2p.exe"'
|
||||
FileWriteByte $0 "13"
|
||||
FileWriteByte $0 "10"
|
||||
FileWriteByte $0 "13"
|
||||
FileWriteByte $0 "10"
|
||||
FileWrite $0 'start "" "$FFNONTORINSTEXE\firefox.exe" -no-remote -profile "$LOCALAPPDATA\${APPNAME}\firefox.profile.config.i2p" -url %1'
|
||||
|
||||
Reference in New Issue
Block a user