Skip to content

A full-featured download manager.

feat(integration): add safari extension install entry (#2283)

Dr_rOot0e6570ea7941
diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.md
index a314734a..9f38726f 100644
--- a/THIRD_PARTY_NOTICES.md
+++ b/THIRD_PARTY_NOTICES.md
@@ -46,7 +46,7 @@ original UI8 license terms.
## Browser extension install icons
-The installation cards use artwork downloaded from the brands’ official websites. Original shapes and colors are preserved; SVG files only add accessible titles. GitHub supplies separate black and white variants. These brand assets retain their respective owners’ rights and are not relicensed under Motrix’s MIT license.
+The installation cards use artwork from the brands’ official websites and applications. Original shapes and colors are preserved; SVG files only add accessible titles. GitHub supplies separate black and white variants. These brand assets retain their respective owners’ rights and are not relicensed under Motrix’s MIT license.
Files are under `src/renderer/routes/settings/icons/`.
@@ -55,8 +55,11 @@ Files are under `src/renderer/routes/settings/icons/`.
| Google Chrome | [Download](https://www.google.com/chrome/static/images/chrome-logo-m100.svg) | `browser-chrome.svg` |
| Microsoft Edge | [Download](https://edgecdn-embza6g8cacagcbn.z01.azurefd.net/welcome/static/favicon.png) | `browser-edge.png` |
| Firefox | [Download](https://www.firefox.com/media/img/favicons/firefox/browser/favicon-196x196.59e3822720be.png) | `browser-firefox.png` |
+| Apple Safari | [Safari](https://www.apple.com/safari/) | `browser-safari.webp` |
| GitHub | [Download](https://brand.github.com/GitHub_Logos.zip) | `browser-github.svg / browser-github-white.svg` |
+The Safari icon is a lossless WebP conversion of the 128px representation extracted from `Safari.app/Contents/Resources/AppIconUpdated.icns`, Safari 27.0 on macOS 27.0 (26A428).
+
Brand resources: [Google](https://about.google/brand-resource-center/), [Microsoft](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks), [Mozilla](https://www.mozilla.org/foundation/trademarks/policy/), [GitHub](https://brand.github.com/foundations/logo).
---
diff --git a/THIRD_PARTY_NOTICES.zh-CN.md b/THIRD_PARTY_NOTICES.zh-CN.md
index 1d097655..feb993ef 100644
--- a/THIRD_PARTY_NOTICES.zh-CN.md
+++ b/THIRD_PARTY_NOTICES.zh-CN.md
@@ -38,7 +38,7 @@ Dashboard 速度模式卡片使用新建的兔子、乌龟和松鼠几何模型
## 浏览器扩展安装图标
-安装入口使用从各品牌官方网站下载的原始图标,保留原始形状与配色;SVG 仅补充无障碍标题。GitHub 按界面主题使用官方提供的黑、白两版。这些品牌素材的权利仍归各自所有者,并未重新授权为 Motrix 的 MIT 许可。
+安装入口使用来自各品牌官方网站和应用的原始图标,保留原始形状与配色;SVG 仅补充无障碍标题。GitHub 按界面主题使用官方提供的黑、白两版。这些品牌素材的权利仍归各自所有者,并未重新授权为 Motrix 的 MIT 许可。
文件位于 `src/renderer/routes/settings/icons/`。
@@ -47,8 +47,11 @@ Dashboard 速度模式卡片使用新建的兔子、乌龟和松鼠几何模型
| Google Chrome | [Download](https://www.google.com/chrome/static/images/chrome-logo-m100.svg) | `browser-chrome.svg` |
| Microsoft Edge | [Download](https://edgecdn-embza6g8cacagcbn.z01.azurefd.net/welcome/static/favicon.png) | `browser-edge.png` |
| Firefox | [Download](https://www.firefox.com/media/img/favicons/firefox/browser/favicon-196x196.59e3822720be.png) | `browser-firefox.png` |
+| Apple Safari | [Safari](https://www.apple.com/safari/) | `browser-safari.webp` |
| GitHub | [Download](https://brand.github.com/GitHub_Logos.zip) | `browser-github.svg / browser-github-white.svg` |
+Safari 图标是从 macOS 27.0(26A428)自带的 Safari 27.0 中 `Safari.app/Contents/Resources/AppIconUpdated.icns` 提取的 128px 图像,仅无损转换为 WebP。
+
品牌资料:[Google](https://about.google/brand-resource-center/)、[Microsoft](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks)、[Mozilla](https://www.mozilla.org/foundation/trademarks/policy/)、[GitHub](https://brand.github.com/foundations/logo)。
---
diff --git a/scripts/third-party-notices.config.json b/scripts/third-party-notices.config.json
index 55e0c4ac..87074d46 100644
--- a/scripts/third-party-notices.config.json
+++ b/scripts/third-party-notices.config.json
@@ -152,6 +152,14 @@
"noticeMarker": "Firefox",
"paths": ["src/renderer/routes/settings/icons/browser-firefox.png"]
},
+ {
+ "id": "browser-install-apple-safari",
+ "name": "Apple Safari",
+ "scope": "browser extension install cards",
+ "licenseDeclared": "LicenseRef-Apple-Trademark",
+ "noticeMarker": "Apple Safari",
+ "paths": ["src/renderer/routes/settings/icons/browser-safari.webp"]
+ },
{
"id": "browser-install-github",
"name": "GitHub",
diff --git a/src/renderer/routes/settings/cards/integration/browser-extension-installs.tsx b/src/renderer/routes/settings/cards/integration/browser-extension-installs.tsx
index 00d5a00c..fe661b73 100644
--- a/src/renderer/routes/settings/cards/integration/browser-extension-installs.tsx
+++ b/src/renderer/routes/settings/cards/integration/browser-extension-installs.tsx
@@ -7,6 +7,7 @@ import edgeIcon from '../../icons/browser-edge.png'
import firefoxIcon from '../../icons/browser-firefox.png'
import githubIcon from '../../icons/browser-github.svg'
import githubWhiteIcon from '../../icons/browser-github-white.svg'
+import safariIcon from '../../icons/browser-safari.webp'
const INSTALL_OPTIONS = [
{
@@ -27,6 +28,12 @@ const INSTALL_OPTIONS = [
href: EXTERNAL_URLS.browserExtension.firefox,
status: 'store',
},
+ {
+ id: 'safari',
+ icon: safariIcon,
+ href: EXTERNAL_URLS.browserExtension.safari,
+ status: 'store',
+ },
{
id: 'github',
icon: githubIcon,
@@ -39,7 +46,7 @@ export function BrowserExtensionInstalls() {
const { t } = useTranslation()
return (
- <div className="grid w-full grid-cols-4 gap-2">
+ <div className="grid w-full grid-cols-3 gap-2 sm:grid-cols-5">
{INSTALL_OPTIONS.map((option) => {
const className = cn(
buttonVariants({ variant: 'outline' }),
diff --git a/src/renderer/routes/settings/icons/browser-safari.webp b/src/renderer/routes/settings/icons/browser-safari.webp
new file mode 100644
index 00000000..2d5264ec
Binary files /dev/null and b/src/renderer/routes/settings/icons/browser-safari.webp differ
diff --git a/src/shared/external-urls.ts b/src/shared/external-urls.ts
index ec731279..091b2a5a 100644
--- a/src/shared/external-urls.ts
+++ b/src/shared/external-urls.ts
@@ -10,6 +10,9 @@ export const EXTERNAL_URLS = {
'https://chromewebstore.google.com/detail/motrix-extension/lggbokfckofcgjndaboioakcmincinpo',
edge: 'https://microsoftedge.microsoft.com/addons/detail/motrix-extension/efcflljngohddnmfmebiamigoikmdfbf',
firefox: 'https://addons.mozilla.org/en-US/firefox/addon/motrix-extension/',
+ // Safari packages use their own release tags; latest points to Chromium/Firefox.
+ safari:
+ 'https://github.com/motrixapp/motrix-extension/releases?q=safari&expanded=true',
development:
'https://github.com/motrixapp/motrix-extension#manual-browser-workflow-development',
},
diff --git a/src/shared/locales/ar.json b/src/shared/locales/ar.json
index 474ccb39..74cd3f3d 100644
--- a/src/shared/locales/ar.json
+++ b/src/shared/locales/ar.json
@@ -2295,6 +2295,7 @@
"development": "تطوير",
"edge": "Microsoft Edge",
"firefox": "Firefox",
+ "safari": "Safari",
"github": "GitHub",
"store": "تثبيت"
},
diff --git a/src/shared/locales/bg.json b/src/shared/locales/bg.json
index ef30c8d5..67e846bb 100644
--- a/src/shared/locales/bg.json
+++ b/src/shared/locales/bg.json
@@ -2219,6 +2219,7 @@
"development": "Разработка",
"edge": "Microsoft Edge",
"firefox": "Firefox",
+ "safari": "Safari",
"github": "GitHub",
"store": "Инсталиране"
},
diff --git a/src/shared/locales/ca.json b/src/shared/locales/ca.json
index 159cf810..06480dd7 100644
--- a/src/shared/locales/ca.json
+++ b/src/shared/locales/ca.json
@@ -2238,6 +2238,7 @@
"development": "Desenvolupament",
"edge": "Microsoft Edge",
"firefox": "Firefox",
+ "safari": "Safari",
"github": "GitHub",
"store": "Instal·lar"
},
diff --git a/src/shared/locales/de.json b/src/shared/locales/de.json
index abd7ead1..364062f1 100644
--- a/src/shared/locales/de.json
+++ b/src/shared/locales/de.json
@@ -1813,6 +1813,7 @@
"chrome": "Chrome",
"edge": "Microsoft Edge",
"firefox": "Firefox",
+ "safari": "Safari",
"github": "GitHub",
"store": "Installieren",
"development": "Entwicklung"
diff --git a/src/shared/locales/el.json b/src/shared/locales/el.json
index 010d33cd..7fcc0f6f 100644
--- a/src/shared/locales/el.json
+++ b/src/shared/locales/el.json
@@ -2219,6 +2219,7 @@
"development": "Ανάπτυξη",
"edge": "Microsoft Edge",
"firefox": "Firefox",
+ "safari": "Safari",
"github": "GitHub",
"store": "Εγκατάσταση"
},
diff --git a/src/shared/locales/en-US.json b/src/shared/locales/en-US.json
index c68e32b3..17b76243 100644
--- a/src/shared/locales/en-US.json
+++ b/src/shared/locales/en-US.json
@@ -1813,6 +1813,7 @@
"chrome": "Chrome",
"edge": "Microsoft Edge",
"firefox": "Firefox",
+ "safari": "Safari",
"github": "GitHub",
"store": "Install",
"development": "Development"
diff --git a/src/shared/locales/es.json b/src/shared/locales/es.json
index 88461441..8b38dd28 100644
--- a/src/shared/locales/es.json
+++ b/src/shared/locales/es.json
@@ -1827,6 +1827,7 @@
"chrome": "Chrome",
"edge": "Microsoft Edge",
"firefox": "Firefox",
+ "safari": "Safari",
"github": "GitHub",
"store": "Instalar",
"development": "Desarrollo"
diff --git a/src/shared/locales/fa.json b/src/shared/locales/fa.json
index 12f90698..10a9a4d4 100644
--- a/src/shared/locales/fa.json
+++ b/src/shared/locales/fa.json
@@ -2219,6 +2219,7 @@
"development": "توسعه",
"edge": "Microsoft Edge",
"firefox": "Firefox",
+ "safari": "Safari",
"github": "GitHub",
"store": "نصب"
},
diff --git a/src/shared/locales/fr.json b/src/shared/locales/fr.json
index 2dcd4354..05116863 100644
--- a/src/shared/locales/fr.json
+++ b/src/shared/locales/fr.json
@@ -2238,6 +2238,7 @@
"development": "Développement",
"edge": "Microsoft Edge",
"firefox": "Firefox",
+ "safari": "Safari",
"github": "GitHub",
"store": "Installer"
},
diff --git a/src/shared/locales/hu.json b/src/shared/locales/hu.json
index d7d49b2b..0955e915 100644
--- a/src/shared/locales/hu.json
+++ b/src/shared/locales/hu.json
@@ -1813,6 +1813,7 @@
"chrome": "Chrome",
"edge": "Microsoft Edge",
"firefox": "Firefox",
+ "safari": "Safari",
"github": "GitHub",
"store": "Telepítés",
"development": "Fejlesztői"
diff --git a/src/shared/locales/id.json b/src/shared/locales/id.json
index 6444354f..b4a1c113 100644
--- a/src/shared/locales/id.json
+++ b/src/shared/locales/id.json
@@ -1799,6 +1799,7 @@
"chrome": "Chrome",
"edge": "Microsoft Edge",
"firefox": "Firefox",
+ "safari": "Safari",
"github": "GitHub",
"store": "Pasang",
"development": "Pengembangan"
diff --git a/src/shared/locales/it.json b/src/shared/locales/it.json
index 38c096ec..baed093c 100644
--- a/src/shared/locales/it.json
+++ b/src/shared/locales/it.json
@@ -1827,6 +1827,7 @@
"chrome": "Chrome",
"edge": "Microsoft Edge",
"firefox": "Firefox",
+ "safari": "Safari",
"github": "GitHub",
"store": "Installa",
"development": "Sviluppo"
diff --git a/src/shared/locales/ja.json b/src/shared/locales/ja.json
index 40c35d65..7b325eef 100644
--- a/src/shared/locales/ja.json
+++ b/src/shared/locales/ja.json
@@ -1799,6 +1799,7 @@
"chrome": "Chrome",
"edge": "Microsoft Edge",
"firefox": "Firefox",
+ "safari": "Safari",
"github": "GitHub",
"store": "インストール",
"development": "開発"
diff --git a/src/shared/locales/ko.json b/src/shared/locales/ko.json
index d4f1bebf..91cc0f1d 100644
--- a/src/shared/locales/ko.json
+++ b/src/shared/locales/ko.json
@@ -1799,6 +1799,7 @@
"chrome": "Chrome",
"edge": "Microsoft Edge",
"firefox": "Firefox",
+ "safari": "Safari",
"github": "GitHub",
"store": "설치",
"development": "개발"
diff --git a/src/shared/locales/nb.json b/src/shared/locales/nb.json
index 7db801bb..7ea01beb 100644
--- a/src/shared/locales/nb.json
+++ b/src/shared/locales/nb.json
@@ -2219,6 +2219,7 @@
"development": "Utvikling",
"edge": "Microsoft Edge",
"firefox": "Firefox",
+ "safari": "Safari",
"github": "GitHub",
"store": "Installer"
},
diff --git a/src/shared/locales/nl.json b/src/shared/locales/nl.json
index 67bdef4f..99feabde 100644
--- a/src/shared/locales/nl.json
+++ b/src/shared/locales/nl.json
@@ -2219,6 +2219,7 @@
"development": "Ontwikkeling",
"edge": "Microsoft Edge",
"firefox": "Firefox",
+ "safari": "Safari",
"github": "GitHub",
"store": "Installeren"
},
diff --git a/src/shared/locales/pl.json b/src/shared/locales/pl.json
index d90bd757..c1f4e58a 100644
--- a/src/shared/locales/pl.json
+++ b/src/shared/locales/pl.json
@@ -1841,6 +1841,7 @@
"chrome": "Chrome",
"edge": "Microsoft Edge",
"firefox": "Firefox",
+ "safari": "Safari",
"github": "GitHub",
"store": "Zainstaluj",
"development": "Deweloperskie"
diff --git a/src/shared/locales/pt-BR.json b/src/shared/locales/pt-BR.json
index 63deaa0e..f9dcf9ed 100644
--- a/src/shared/locales/pt-BR.json
+++ b/src/shared/locales/pt-BR.json
@@ -1827,6 +1827,7 @@
"chrome": "Chrome",
"edge": "Microsoft Edge",
"firefox": "Firefox",
+ "safari": "Safari",
"github": "GitHub",
"store": "Instalar",
"development": "Desenvolvimento"
diff --git a/src/shared/locales/ro.json b/src/shared/locales/ro.json
index c16c7f34..9be3f6f7 100644
--- a/src/shared/locales/ro.json
+++ b/src/shared/locales/ro.json
@@ -2238,6 +2238,7 @@
"development": "Dezvoltare",
"edge": "Microsoft Edge",
"firefox": "Firefox",
+ "safari": "Safari",
"github": "GitHub",
"store": "Instalează"
},
diff --git a/src/shared/locales/ru.json b/src/shared/locales/ru.json
index a9d3462f..4db8ac6e 100644
--- a/src/shared/locales/ru.json
+++ b/src/shared/locales/ru.json
@@ -1841,6 +1841,7 @@
"chrome": "Chrome",
"edge": "Microsoft Edge",
"firefox": "Firefox",
+ "safari": "Safari",
"github": "GitHub",
"store": "Установить",
"development": "Разработка"
diff --git a/src/shared/locales/th.json b/src/shared/locales/th.json
index 22b19c00..184dd054 100644
--- a/src/shared/locales/th.json
+++ b/src/shared/locales/th.json
@@ -2200,6 +2200,7 @@
"development": "การพัฒนา",
"edge": "Microsoft Edge",
"firefox": "Firefox",
+ "safari": "Safari",
"github": "GitHub",
"store": "ติดตั้ง"
},
diff --git a/src/shared/locales/tr.json b/src/shared/locales/tr.json
index 0adf53e0..40f6d26d 100644
--- a/src/shared/locales/tr.json
+++ b/src/shared/locales/tr.json
@@ -1813,6 +1813,7 @@
"chrome": "Chrome",
"edge": "Microsoft Edge",
"firefox": "Firefox",
+ "safari": "Safari",
"github": "GitHub",
"store": "Yükle",
"development": "Geliştirme"
diff --git a/src/shared/locales/uk.json b/src/shared/locales/uk.json
index 0747a268..3f839c63 100644
--- a/src/shared/locales/uk.json
+++ b/src/shared/locales/uk.json
@@ -2257,6 +2257,7 @@
"development": "Розробка",
"edge": "Microsoft Edge",
"firefox": "Firefox",
+ "safari": "Safari",
"github": "GitHub",
"store": "Встановити"
},
diff --git a/src/shared/locales/vi.json b/src/shared/locales/vi.json
index 67420307..17904fef 100644
--- a/src/shared/locales/vi.json
+++ b/src/shared/locales/vi.json
@@ -1799,6 +1799,7 @@
"chrome": "Chrome",
"edge": "Microsoft Edge",
"firefox": "Firefox",
+ "safari": "Safari",
"github": "GitHub",
"store": "Cài đặt",
"development": "Phát triển"
diff --git a/src/shared/locales/zh-CN.json b/src/shared/locales/zh-CN.json
index 6b7504ab..93fa7ad0 100644
--- a/src/shared/locales/zh-CN.json
+++ b/src/shared/locales/zh-CN.json
@@ -1799,6 +1799,7 @@
"chrome": "Chrome",
"edge": "Microsoft Edge",
"firefox": "Firefox",
+ "safari": "Safari",
"github": "GitHub",
"store": "安装扩展",
"development": "开发版"
diff --git a/src/shared/locales/zh-TW.json b/src/shared/locales/zh-TW.json
index 03a1de93..66aeb588 100644
--- a/src/shared/locales/zh-TW.json
+++ b/src/shared/locales/zh-TW.json
@@ -1799,6 +1799,7 @@
"chrome": "Chrome",
"edge": "Microsoft Edge",
"firefox": "Firefox",
+ "safari": "Safari",
"github": "GitHub",
"store": "安裝擴充功能",
"development": "開發版"