Execute if statement outcomes on one line because batch.
This commit is contained in:
@ -7,8 +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"
|
||||
)
|
||||
|
Reference in New Issue
Block a user