如何停用 Thunderbird 自動更新?

如何停用 Thunderbird 自動更新?

與目前版本的 Thunderbird (91.x) 一樣,無法透過首選項停用自動更新: 在此輸入影像描述

是否可以透過配置編輯器執行此操作,如果可以,如何執行?

答案1

看起來您使用的是 Windows,所以可以透過註冊表禁用 Thunderbird 更新。

最簡單的方法是建立一個包含以下內容的新文字檔案:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Thunderbird]
"DisableAppUpdate"=dword:00000001

然後使用 .reg 副檔名(如Disable Thunderbird Updates.reg)重命名它並執行它。

如果您已經升級到超出您想要的版本(例如昇級到殘暴的“Supernova”v115)並且想返回,您可以!只是安裝舊版本並添加-allow-downgrade到您的 Thunderbird 快捷方式,這樣您就不必重置您的個人資料。

答案2

我不知道如何透過配置編輯器更改此行為 -app.update.auto不在我的 Thunderbird 版本中,如果我嘗試刪除它,app.update.auto.migrated總是會重新建立並設定為 -但是檔案會起作用嗎?我不確定 Thunderbird 是否也像 Firefox 一樣尊重,但這可能是個選擇。具體來說,有一些預先建構的truepolicies.jsonpolicies.json政策模板包含安裝/設定說明:

可以使用 Windows 上的群組原則範本、Windows 上的 Intune、macOS 上的設定檔或透過建立名為policy.json 的檔案來指定原則。在 Windows 上,建立 EXE 所在的名為 distribution 的目錄並將檔案放置在其中。在 Mac 上,該檔案位於 Firefox.app/Contents/Resources/distribution。在 Linux 上,該檔案進入 firefox/distribution,其中 firefox 是 firefox 的安裝目錄,該目錄因發行版而異,或者您可以透過將該檔案放在 /etc/firefox/policies 中來指定係統範圍的策略。

一些適用的可能是:

範例policies.json可能如下圖所示:

{
  "policies": {
    "ManualAppUpdateOnly": true
  }
}

就其價值而言,Thunderbird 的源代碼中引用了該特定策略:

https://github.com/mozilla/releases-comm-central/blob/925606caac04e4b8b401807fd631ac83c9e7b52d/mail/components/enterprisepolicies/Policies.jsm#L875

ManualAppUpdateOnly: {
  onBeforeAddons(manager, param) {
    if (param) {
      manager.disallowFeature("autoAppUpdateChecking");
    }
  },
},

答案3

在 Mac OS X 上,人們可能會:

  1. 編輯 /Applications/Thunderbird.app/Contents/Resources/update-settings.ini
    fe 在行前面加上一個哈希 ( #) ACCEPTED_MAR_CHANNEL_IDS=thunderbird-comm-release

  2. 或重命名/Applications/Thunderbird.app/Contents/MacOS/Thunderbird Software Update.app為不同的名稱。

相關內容