Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 2.22 KB

群晖去小红点.md

File metadata and controls

26 lines (20 loc) · 2.22 KB

此方法比较暴力 直接替换文件 非强迫症不建议采用

SSH登录群晖,这个不多说,下面的命令拷贝执行即可


# 1、处理控制面板里面系统升级的小红点
cp /usr/syno/synoman/webman/modules/AdminCenter/images/default/1x/badge_control_panel.png /usr/syno/synoman/webman/modules/AdminCenter/images/default/1x/badge_control_panel.png.bak
cp /usr/syno/synoman/webman/modules/AdminCenter/images/default/2x/badge_control_panel.png /usr/syno/synoman/webman/modules/AdminCenter/images/default/2x/badge_control_panel.png.bak
wget -O /usr/syno/synoman/webman/modules/AdminCenter/images/default/1x/badge_control_panel.png https://github.com/lbq1121/jiaoben/raw/master/files/transparent.png
wget -O /usr/syno/synoman/webman/modules/AdminCenter/images/default/2x/badge_control_panel.png https://github.com/lbq1121/jiaoben/raw/master/files/transparent.png

# 2、处理控制面板里面系统升级的小红点(侧栏提示)
cp /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_notification_num.png /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_notification_num.png.bak
cp /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_notification_num.png /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_notification_num.png.bak
wget -O /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_notification_num.png https://github.com/lbq1121/jiaoben/raw/master/files/transparent.png
wget -O /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_notification_num.png https://github.com/lbq1121/jiaoben/raw/master/files/transparent.png

# 3、直接把桌面的小红点提示也都撸掉
cp /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_badge_num.png /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_badge_num.png.bak
cp /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_badge_num.png /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_badge_num.png.bak
wget -O /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_badge_num.png https://github.com/lbq1121/jiaoben/raw/master/files/transparent.png
wget -O /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_badge_num.png https://github.com/lbq1121/jiaoben/raw/master/files/transparent.png

修改后,直接强制刷新浏览器访问群晖即可。