如何禁用Chrome的更新请求?

我有一个嵌入式系统,安装了 lubuntu 22.04 和 Google-Chrome 版本 114。 当系统启动时,一个脚本会以 kiosk 模式启动 Chrome。 在最近几天(2023 年 10 月),Chrome 显示了以下图片中的错误信息:enter image description here 在去年 7 月,没有显示这个错误。
该系统未连接到互联网,不希望 Google-Chrome 更新:它必须保持在 114 版本,暂时不需要任何更新。
我该如何禁用 Chrome 的更新请求?
1个回答

经过一些谷歌搜索,我找到了一个适用于Google Chrome的命令行选项--simulate-outdated-no-au。通过以下命令启动Google Chrome:
/usr/bin/google-chrome --simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT' --kiosk file:/path/to/my_start_page.html &

选项是强制Chrome在2099年12月31日23:59:59之前过时,这足以避免启动时出现不必要的错误消息。