Mac中如何Chrome禁用更新[update chflags macos]

写在前面

在 macOS 系统中,系统更新提示的小红点常常让人不胜其扰。

尤其是当你希望保持现有系统的稳定性,或因兼容性问题暂不想升级时,这个小红点就像一个顽固的提醒。

复制代码
- windows

Mac版直接删除更新程序, 有效

复制代码
cd ~/Library/Google/GoogleSoftwareUpdate/
rm -rf GoogleSoftwareUpdate.bundle

新版的 Chrome 还需要禁用该目录的写入功能

复制代码
sudo chflags schg ~/Library/Google/GoogleSoftwareUpdate

恢复命令: sudo chflags noschg ~/Library/Google/GoogleSoftwareUpdate

chflags跟目录权限貌似没有关系, 变更后还是755.

console 复制代码
~/Library/Google$ ll
total 0
drwxr-xr-x   2 general  staff    64  5 15 14:10 GoogleSoftwareUpdate
~/Library/Google$ sudo chflags schg ~/Library/Google/GoogleSoftwareUpdate
Password:
~/Library/Google$ ll
total 0
drwxr-xr-x   2 general  staff    64  5 15 14:10 GoogleSoftwareUpdate

然后在"关于"页面, 就会显示

复制代码
Google Chrome可能无法进行自动更新。

The end.

相关推荐
高斯林.神犇1 天前
javaWeb基础
前端·chrome
charlie1145141911 天前
从《Life of A Pixel》来看Chrome的渲染机制
前端·chrome·学习·渲染·浏览器·原理分析
带土11 天前
32位ubuntu14.0.4安装chrome
linux·chrome
努力打怪升级2 天前
Rocky Linux 8 远程管理配置指南(宿主机 VNC + KVM 虚拟机 VNC)
前端·chrome
vortex52 天前
Bash 中的 shopt -s globstar:递归 Glob 模式详解
开发语言·chrome·bash
迎風吹頭髮3 天前
UNIX下C语言编程与实践22-UNIX 文件其他属性获取:stat 结构与 localtime 函数的使用
c语言·chrome·unix
前端小白从0开始4 天前
Chrome DevTools高级用法:性能面板内存泄漏排查
前端·chrome·chrome devtools
数据牧羊人的成长笔记4 天前
python爬虫进阶版练习(只说重点,selenium)
开发语言·chrome·python
阿雄不会写代码4 天前
AWS | Linux 硬盘挂载综合教程
linux·运维·chrome
-KamMinG5 天前
分享:一键自动化巡检服务器
服务器·chrome·自动化