From 17f2c8bdaee1a7ac1062fe0fe0ce49d4b4f1fa8c Mon Sep 17 00:00:00 2001 From: idk Date: Wed, 18 May 2022 17:50:32 -0400 Subject: [PATCH] actually, do set the working directory to the exe path because it achieves the identical result and matches the i2p.i2p desktop shortcut behavior --- src/win/launchi2p.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/win/launchi2p.bat b/src/win/launchi2p.bat index 13b259e..94917f6 100644 --- a/src/win/launchi2p.bat +++ b/src/win/launchi2p.bat @@ -9,7 +9,8 @@ netstat /o /a | find /i "listening" | find ":4444" >nul 2>nul && ( echo "I2P is already running, not launching" ) || ( echo "I2P is not running, launching" - start "i2p" %I2PPath%i2p.exe + echo start "i2p" /D "%I2PPath%" %I2PPath%i2p.exe + start "i2p" /D "%I2PPath%" i2p.exe )