enclose conditionals in copy-profile scripts to allow multi-line statements within them? Batch is weird
This commit is contained in:
@@ -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 (
|
||||
|
||||
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user