feat(shell-sync): add source_oauth_provider()

This commit is contained in:
hoelee committed 2026-06-11 12:17:00 +08:00
1 parent 3218efe0c3
commit b7ab56c9ca
1 file changed
+8
+8
View File
@@ -136,3 +136,11 @@ send_notification() {
return 1
}
source_oauth_provider() {
case "$1" in
office365|outlook|hotmail) echo "office365" ;;
gmail|google) echo "gmail" ;;
*) return 1 ;;
esac
}