fix misuse of Roaming application data when Local application data is preferred
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2021-01-17 idk
|
||||
* Use Local Application Data instead of Roaming application data for router.config file
|
||||
* Use Roaming Application Daya only if a clients.config.d is present, indicating that the
|
||||
roaming application directory is in use deliberately.
|
||||
|
||||
2020-12-20 idk
|
||||
* Add I2P in Private Browsing plugin, which for the purposes of this profile provides
|
||||
- X-I2P-Location functionality(Alternate service locations for mirrors)
|
||||
|
@ -143,8 +143,8 @@ Function .onInit
|
||||
${If} $0 == 1
|
||||
${If} ${FileExists} "${FFINSTEXE64}/firefox.exe"
|
||||
StrCpy $FFINSTEXE "${FFINSTEXE64}"
|
||||
${ElseIf} ${FileExists} "${FFINSTEXE32}/firefox.exe"
|
||||
StrCpy $FFINSTEXE "${FFINSTEXE32}"
|
||||
${ElseIf} ${FileExists} "${FFINSTEXE32}/firefox.exe"
|
||||
StrCpy $FFINSTEXE "${FFINSTEXE32}"
|
||||
${EndIf}
|
||||
${If} ${FileExists} "$PROFILE/OneDrive/Desktop/Tor Browser/Browser/firefox.exe"
|
||||
StrCpy $FFINSTEXE "$PROFILE/OneDrive/Desktop/Tor Browser/Browser/"
|
||||
@ -247,7 +247,10 @@ Section Install
|
||||
|
||||
|
||||
SetShellVarContext current
|
||||
!define I2PAPPDATA "$LOCALAPPDATA\I2P\"
|
||||
Var /Global I2PAPPDATA
|
||||
IfFileExists "$APPDATA\I2P\clients.config.d" 0 +2
|
||||
StrCpy $I2PAPPDATA "$APPDATA\I2P\"
|
||||
StrCpy $I2PAPPDATA "$LOCALAPPDATA\I2P\"
|
||||
|
||||
SetOutPath "${I2PAPPDATA}"
|
||||
|
||||
|
Reference in New Issue
Block a user