Include some basic conf in fws-thunderbird

master
Daniel Berteaud 6 years ago
parent 3932380b4e
commit 243155da83
  1. 4
      WAPT/control
  2. 18
      local-settings.cfg
  3. 3
      local-settings.js
  4. 4
      setup.py

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

@ -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);

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

@ -55,6 +55,10 @@ def install():
key='Mozilla Thunderbird %s (%s %s)' % (version,'x64' if iswin64() else 'x86',locale) 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']) 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) diskfreespaceafter = get_disk_free_space(programfiles)
difffreespace = diskfreespacebefore - diskfreespaceafter difffreespace = diskfreespacebefore - diskfreespaceafter
print(ur"Needed disk space : " + str(difffreespace)) print(ur"Needed disk space : " + str(difffreespace))

Loading…
Cancel
Save