mirror of
https://github.com/Ximi1970/systray-x.git
synced 2026-05-07 07:35:40 +02:00
Force policies.json
This commit is contained in:
16
dist/SysTray-X-32bit.nsi
vendored
16
dist/SysTray-X-32bit.nsi
vendored
@@ -113,12 +113,18 @@ Section "Install"
|
||||
FileClose $0
|
||||
end:
|
||||
${Else}
|
||||
|
||||
${If} ${FileExists} `$PROGRAMFILES\Mozilla Thunderbird\*.*`
|
||||
SetOutPath "$PROGRAMFILES\Mozilla Thunderbird\distribution\extensions"
|
||||
File "..\systray-x@Ximi1970.xpi"
|
||||
${EndIf}
|
||||
|
||||
${If} ${FileExists} `$PROGRAMFILES\Mozilla Thunderbird\*.*`
|
||||
SetOutPath "$PROGRAMFILES\Mozilla Thunderbird\distribution\extensions"
|
||||
File "..\systray-x@Ximi1970.xpi"
|
||||
|
||||
SetOutPath "$PROGRAMFILES\Mozilla Thunderbird\distribution"
|
||||
${If} ${FileExists} `$PROGRAMFILES\Mozilla Thunderbird\distribution\policies.json`
|
||||
File "policies.json"
|
||||
${Else}
|
||||
File "policies.json"
|
||||
${EndIf}
|
||||
${EndIf}
|
||||
${EndIf}
|
||||
|
||||
;
|
||||
|
||||
14
dist/SysTray-X-64bit.nsi
vendored
14
dist/SysTray-X-64bit.nsi
vendored
@@ -118,11 +118,25 @@ Section "Install"
|
||||
${If} ${FileExists} `$PROGRAMFILES32\Mozilla Thunderbird\*.*`
|
||||
SetOutPath "$PROGRAMFILES32\Mozilla Thunderbird\distribution\extensions"
|
||||
File "..\systray-x@Ximi1970.xpi"
|
||||
|
||||
SetOutPath "$PROGRAMFILES32\Mozilla Thunderbird\distribution"
|
||||
${If} ${FileExists} `$PROGRAMFILES32\Mozilla Thunderbird\distribution\policies.json`
|
||||
File "policies.json"
|
||||
${Else}
|
||||
File "policies.json"
|
||||
${EndIf}
|
||||
${EndIf}
|
||||
|
||||
${If} ${FileExists} `$PROGRAMFILES64\Mozilla Thunderbird\*.*`
|
||||
SetOutPath "$PROGRAMFILES64\Mozilla Thunderbird\distribution\extensions"
|
||||
File "..\systray-x@Ximi1970.xpi"
|
||||
|
||||
SetOutPath "$PROGRAMFILES64\Mozilla Thunderbird\distribution"
|
||||
${If} ${FileExists} `$PROGRAMFILES64\Mozilla Thunderbird\distribution\policies.json`
|
||||
File "policies.json"
|
||||
${Else}
|
||||
File "policies.json"
|
||||
${EndIf}
|
||||
${EndIf}
|
||||
|
||||
${EndIf}
|
||||
|
||||
10
dist/policies.json
vendored
Normal file
10
dist/policies.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"policies": {
|
||||
"ExtensionSettings": {
|
||||
"systray-x@Ximi1970": {
|
||||
"installation_mode": "normal_installed",
|
||||
"install_url": "file:///C:/Program Files/Mozilla Thunderbird/distribution/extensions/systray-x@Ximi1970.xpi"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user