From 5d9cd3b669f55531650a292cab545b9b514b05e4 Mon Sep 17 00:00:00 2001 From: idk Date: Wed, 18 May 2022 16:12:09 -0400 Subject: [PATCH] Execute if statement outcomes on one line because batch. --- src/win/launchi2p.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win/launchi2p.bat b/src/win/launchi2p.bat index c8f9f41..e628946 100644 --- a/src/win/launchi2p.bat +++ b/src/win/launchi2p.bat @@ -7,7 +7,7 @@ netstat /o /a | find /i "listening" | find ":4444" >nul 2>nul && ( echo "I2P is already running, not launching" ) || ( if exist "%I2PPath%\jpackaged" ( - cd "%LOCALAPPDATA%\I2P" && start "i2p" /D "%LOCALAPPDATA%\I2P" "%I2PPath%\i2p.exe" + cd "%LOCALAPPDATA%\I2P" & start "i2p" /D "%LOCALAPPDATA%\I2P" "%I2PPath%\i2p.exe" ) else ( start "i2p" "%I2PPath%\i2p.exe" )