cd before starting a jpackaged router from the script in case the environment is overriding it

This commit is contained in:
idk
2022-03-25 18:51:11 -04:00
parent 4ce272765f
commit 74d5ccc47f
2 changed files with 2 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ if exist "%LocalAppData%\I2P\I2P.exe" (
)
if exist "%I2PPath%\jpackaged" (
cd "%LOCALAPPDATA%\I2P"
start "i2p" /D "%LOCALAPPDATA%\I2P" "%I2PPath%\i2p.exe"
) else (
start "i2p" "%I2PPath%\i2p.exe"

View File

@@ -15,6 +15,7 @@ if exist "%LocalAppData%\I2P\I2P.exe" (
)
if exist "%I2PPath%\jpackaged" (
cd "%LOCALAPPDATA%\I2P"
start "i2p" /D "%LOCALAPPDATA%\I2P" "%I2PPath%\i2p.exe"
) else (
start "i2p" "%I2PPath%\i2p.exe"