call common.bat on every script that requires variables set in that script
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
|
||||
SET MYPATH=%~dp0
|
||||
call %MYPATH%common.bat
|
||||
|
||||
set "I2PPath=%ProgramFiles%\I2P\"
|
||||
if exist "%LocalAppData%\I2P\I2P.exe" (
|
||||
set "I2PPath=%LocalAppData%\I2P\"
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
|
||||
SET MYPATH=%~dp0
|
||||
call %MYPATH%common.bat
|
||||
|
||||
if exist "%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.config.i2p\" (
|
||||
echo "profile is configured"
|
||||
xcopy /s /i /y "%I2PPath%\I2PBrowser-Launcher\firefox.profile.config.i2p\extensions" "%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.config.i2p\extensions"
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
|
||||
SET MYPATH=%~dp0
|
||||
call %MYPATH%common.bat
|
||||
|
||||
if exist "%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p\" (
|
||||
echo "profile is configured, updating extensions"
|
||||
xcopy /s /i /y "%I2PPath%\I2PBrowser-Launcher\firefox.profile.i2p\extensions" "%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p\extensions"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
@echo on
|
||||
|
||||
SET MYPATH=%~dp0
|
||||
|
||||
call %MYPATH%common.bat
|
||||
|
||||
call %MYPATH%launchi2p.bat
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
@echo on
|
||||
|
||||
SET MYPATH=%~dp0
|
||||
|
||||
call %MYPATH%common.bat
|
||||
|
||||
call %MYPATH%launchi2p.bat
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
@echo on
|
||||
|
||||
SET MYPATH=%~dp0
|
||||
|
||||
call %MYPATH%common.bat
|
||||
|
||||
call %MYPATH%copy-config-profile.bat
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
|
||||
SET MYPATH=%~dp0
|
||||
call %MYPATH%common.bat
|
||||
|
||||
if exist "%I2PPath%\jpackaged" (
|
||||
cd "%LOCALAPPDATA%\I2P"
|
||||
start "i2p" /D "%LOCALAPPDATA%\I2P" "%I2PPath%\i2p.exe"
|
||||
|
||||
Reference in New Issue
Block a user