feat: 新增 iCloud 邮箱 provider

This commit is contained in:
honue
2026-04-15 16:44:16 +08:00
parent d144d14091
commit 1947f8b561
11 changed files with 785 additions and 2 deletions
+8
View File
@@ -29,6 +29,13 @@
return '';
}
function getIcloudMailUrlForHost(host) {
const normalizedHost = normalizeIcloudHost(host);
if (normalizedHost === 'icloud.com') return 'https://www.icloud.com/mail/';
if (normalizedHost === 'icloud.com.cn') return 'https://www.icloud.com.cn/mail/';
return '';
}
function getIcloudSetupUrlForHost(host) {
const normalizedHost = normalizeIcloudHost(host);
if (normalizedHost === 'icloud.com') return 'https://setup.icloud.com/setup/ws/1';
@@ -166,6 +173,7 @@
getConfiguredIcloudHostPreference,
getIcloudHostHintFromMessage,
getIcloudLoginUrlForHost,
getIcloudMailUrlForHost,
getIcloudSetupUrlForHost,
normalizeBooleanMap,
normalizeIcloudAliasList,