enclose conditionals in copy-profile scripts to allow multi-line statements within them? Batch is weird

This commit is contained in:
idk
2022-05-18 15:10:49 -04:00
parent 7f2ef1d074
commit 78e703fd92
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
SET MYPATH=%~dp0
call "%MYPATH%common.bat"
if exist "%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.config.i2p\" (
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"
) else (

View File

@@ -2,7 +2,7 @@
SET MYPATH=%~dp0
call "%MYPATH%common.bat"
if exist "%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p\" (
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"
) else (