From 20fc6213552aefbad549267568cf70050b4b0ace Mon Sep 17 00:00:00 2001 From: hoelee Date: Thu, 4 Jun 2026 09:00:00 +0800 Subject: [PATCH] feat(shell-sync): send_notification() part 1/3 --- platform/shell-sync/sync.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/platform/shell-sync/sync.sh b/platform/shell-sync/sync.sh index 0496d178..07611aab 100644 --- a/platform/shell-sync/sync.sh +++ b/platform/shell-sync/sync.sh @@ -93,3 +93,13 @@ validate_settings() { fi } +send_notification() { + local subject="$1" + local body="$2" + local config + local -a recipients + + if [ "$NOTIFY_MODE" = "none" ]; then + return 0 + fi +