Preserve Thunderbird profiles and add OpenCode Mobile support

This commit is contained in:
2026-11-01 20:17:00 +01:00
parent 1e40a867e7
commit 849e522287
11 changed files with 411 additions and 38 deletions

View File

@@ -1,9 +0,0 @@
[Profile0]
Name={{ thunderbird_profile_name }}
IsRelative=1
Path={{ thunderbird_profile_dir }}
Default=1
[General]
StartWithLastProfile=1
Version=2

View File

@@ -1,6 +1,7 @@
// Managed by Ansible from profile_desktop_gnome (tag: thunderbird).
// Thunderbird rewrites prefs.js on exit, so the declared defaults live here
// and are re-applied at every start. Do not edit this file by hand.
// and are re-applied at every start. Seeded only when no account exists;
// Ansible does not overwrite this file or configure an existing account.
//
// The account password is intentionally absent: iCloud mail requires an
// app-specific password, which Thunderbird prompts for and stores in its own
@@ -20,7 +21,7 @@ user_pref("mail.server.server1.authMethod", 3);
user_pref("mail.server.server1.userName", "{{ thunderbird_icloud_email }}");
user_pref("mail.server.server1.name", "{{ thunderbird_icloud_account_name }}");
user_pref("mail.server.server1.directory-rel", "[ProfD]ImapMail/{{ thunderbird_icloud_imap_host }}");
user_pref("mail.server.server1.directory", "{{ user_home }}/.thunderbird/{{ thunderbird_profile_dir }}/ImapMail/{{ thunderbird_icloud_imap_host }}");
user_pref("mail.server.server1.directory", "{{ thunderbird_selected.profile }}/ImapMail/{{ thunderbird_icloud_imap_host }}");
user_pref("mail.server.server1.max_cached_connections", 5);
user_pref("mail.server.server1.check_new_mail", true);
user_pref("mail.server.server1.check_time", 10);