Browse Source

Include some basic conf in fws-thunderbird

Daniel Berteaud 4 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 @@
1 1
 package           : fws-thunderbird
2
-version           : 60.3.2-1
2
+version           : 60.3.2-2
3 3
 architecture      : all
4 4
 section           : base
5 5
 priority          : optional
@@ -10,7 +10,7 @@ conflicts         :
10 10
 maturity          : DEV
11 11
 locale            : fr
12 12
 target_os         : windows
13
-min_os_version    : 5.0
13
+min_os_version    : 6.1
14 14
 max_os_version    : 
15 15
 min_wapt_version  : 1.5
16 16
 sources           : 

+ 18
- 0
local-settings.cfg View File

@@ -0,0 +1,18 @@
1
+// Disable Auto Updates
2
+lockPref("app.update.enabled", false);
3
+lockPref("app.update.service.enabled", false);
4
+
5
+// Disable feedback
6
+lockPref("toolkit.telemetry.prompted",2);
7
+
8
+// Disable browser rights info toolbar
9
+lockPref("browser.rights.3.shown", true);
10
+lockPref("browser.rights.3.shown",true);
11
+
12
+// Disable migration
13
+lockPref("profile.confirm_automigration",false);
14
+lockPref("profile.migration_behavior",0);
15
+lockPref("profile.migration_directory", "");
16
+
17
+// Disable Lightning Notification
18
+lockPref("calendar.integration.notify", false);

+ 3
- 0
local-settings.js View File

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

+ 4
- 0
setup.py View File

@@ -55,6 +55,10 @@ def install():
55 55
         key='Mozilla Thunderbird %s (%s %s)' % (version,'x64' if iswin64() else 'x86',locale)
56 56
         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'])
57 57
 
58
+        print('Copy local settings')
59
+        filecopyto("local-settings.cfg",install_location(key))
60
+        filecopyto("local-settings.js",makepath(install_location(key),"defaults","pref"))
61
+
58 62
         diskfreespaceafter = get_disk_free_space(programfiles)
59 63
         difffreespace = diskfreespacebefore - diskfreespaceafter
60 64
         print(ur"Needed disk space : " + str(difffreespace))

Loading…
Cancel
Save