Fix I2P router detection priorities in Windows launcher scripts #17
This commit is contained in:
@ -1,6 +1,10 @@
|
||||
@echo on
|
||||
|
||||
set "I2PPath=%ProgramFiles%\I2P\"
|
||||
if exist "%LocalAppData%\I2P\I2P.exe" (
|
||||
set "I2PPath=%LocalAppData%\I2P\"
|
||||
)
|
||||
|
||||
if exist "%ProgramFiles%\I2P\" (
|
||||
set "I2PPath=%ProgramFiles%\I2P\"
|
||||
)
|
||||
@ -9,11 +13,6 @@ if exist "%ProgramFiles(x86)%\I2P" (
|
||||
set "I2PPath=%ProgramFiles(x86)%\I2P"
|
||||
)
|
||||
|
||||
set "I2PPath=%LocalAppData%\I2P\"
|
||||
if exist "%LocalAppData%\I2P\I2P.exe" (
|
||||
set "I2PPath=%LocalAppData%\I2P\"
|
||||
)
|
||||
|
||||
if exist "%I2PPath%\jpackaged" (
|
||||
cd "%LOCALAPPDATA%\I2P"
|
||||
start "i2p" /D "%LOCALAPPDATA%\I2P" "%I2PPath%\i2p.exe"
|
||||
|
@ -1,6 +1,10 @@
|
||||
@echo on
|
||||
|
||||
set "I2PPath=%ProgramFiles%\I2P\"
|
||||
if exist "%LocalAppData%\I2P\I2P.exe" (
|
||||
set "I2PPath=%LocalAppData%\I2P\"
|
||||
)
|
||||
|
||||
if exist "%ProgramFiles%\I2P\" (
|
||||
set "I2PPath=%ProgramFiles%\I2P\"
|
||||
)
|
||||
@ -9,11 +13,6 @@ if exist "%ProgramFiles(x86)%\I2P" (
|
||||
set "I2PPath=%ProgramFiles(x86)%\I2P"
|
||||
)
|
||||
|
||||
set "I2PPath=%LocalAppData%\I2P\"
|
||||
if exist "%LocalAppData%\I2P\I2P.exe" (
|
||||
set "I2PPath=%LocalAppData%\I2P\"
|
||||
)
|
||||
|
||||
if exist "%I2PPath%\jpackaged" (
|
||||
cd "%LOCALAPPDATA%\I2P"
|
||||
start "i2p" /D "%LOCALAPPDATA%\I2P" "%I2PPath%\i2p.exe"
|
||||
|
@ -1,6 +1,10 @@
|
||||
@echo on
|
||||
|
||||
set "I2PPath=%ProgramFiles%\I2P\"
|
||||
if exist "%LocalAppData%\I2P\I2P.exe" (
|
||||
set "I2PPath=%LocalAppData%\I2P\"
|
||||
)
|
||||
|
||||
if exist "%ProgramFiles%\I2P\" (
|
||||
set "I2PPath=%ProgramFiles%\I2P\"
|
||||
)
|
||||
@ -9,11 +13,6 @@ if exist "%ProgramFiles(x86)%\I2P" (
|
||||
set "I2PPath=%ProgramFiles(x86)%\I2P"
|
||||
)
|
||||
|
||||
set "I2PPath=%LocalAppData%\I2P\"
|
||||
if exist "%LocalAppData%\I2P\I2P.exe" (
|
||||
set "I2PPath=%LocalAppData%\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"
|
||||
|
Reference in New Issue
Block a user