Doctor: silence best-effort notification in headless runs
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QKxGW1raAWaqeU8WdHsMsp
This commit is contained in:
@@ -64,7 +64,7 @@ check_mirror() {
|
||||
echo "INFO mirror: re-applying china profile (auto-failover)"
|
||||
if omarchy-cn-mirror-apply china; then
|
||||
failures=$((failures - 1))
|
||||
omarchy-notification-send "OmarchyCN" "pacman 镜像已自动切换" || true
|
||||
omarchy-notification-send "OmarchyCN" "pacman 镜像已自动切换" 2> /dev/null || true
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user