Browse Source

Include some basic conf in fws-thunderbird

master
Daniel Berteaud 10 months ago
parent
commit
243155da83
4 changed files with 27 additions and 2 deletions
  1. 2
    2
      WAPT/control
  2. 18
    0
      local-settings.cfg
  3. 3
    0
      local-settings.js
  4. 4
    0
      setup.py

+ 2
- 2
WAPT/control View File

@@ -1,5 +1,5 @@
package : fws-thunderbird
version : 60.3.2-1
version : 60.3.2-2
architecture : all
section : base
priority : optional
@@ -10,7 +10,7 @@ conflicts :
maturity : DEV
locale : fr
target_os : windows
min_os_version : 5.0
min_os_version : 6.1
max_os_version :
min_wapt_version : 1.5
sources :

+ 18
- 0
local-settings.cfg View File

@@ -0,0 +1,18 @@
// Disable Auto Updates
lockPref("app.update.enabled", false);
lockPref("app.update.service.enabled", false);
// Disable feedback
lockPref("toolkit.telemetry.prompted",2);
// Disable browser rights info toolbar
lockPref("browser.rights.3.shown", true);
lockPref("browser.rights.3.shown",true);
// Disable migration
lockPref("profile.confirm_automigration",false);
lockPref("profile.migration_behavior",0);
lockPref("profile.migration_directory", "");
// Disable Lightning Notification
lockPref("calendar.integration.notify", false);

+ 3
- 0
local-settings.js View File

@@ -0,0 +1,3 @@
// Autoconfig
pref("general.config.obscure_value", 0);
pref("general.config.filename", "local-settings.cfg");

+ 4
- 0
setup.py View File

@@ -55,6 +55,10 @@ def install():
key='Mozilla Thunderbird %s (%s %s)' % (version,'x64' if iswin64() else 'x86',locale)
install_exe_if_needed(r'win%s\Thunderbird Setup %s.exe' % ('64' if iswin64() else '32',version),silentflags='-ms',key=key ,min_version=version,killbefore=['thunderbird.exe'])
print('Copy local settings')
filecopyto("local-settings.cfg",install_location(key))
filecopyto("local-settings.js",makepath(install_location(key),"defaults","pref"))
diskfreespaceafter = get_disk_free_space(programfiles)
difffreespace = diskfreespacebefore - diskfreespaceafter
print(ur"Needed disk space : " + str(difffreespace))

Loading…
Cancel
Save