Skip to content

armgit / Pake

Public Imported from GitHub
0

Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.

feat(gallery): use colored icons for the dark-tile apps

Tw9305b25923bbec
diff --git a/gallery/README.md b/gallery/README.md
index 377852e0..ecd240d3 100644
--- a/gallery/README.md
+++ b/gallery/README.md
@@ -28,7 +28,7 @@ Pake is not affiliated with any of these sites. Names, logos and icons belong to
- `version`: starts at 1. Bump it only when a change affects the built app, that is `url`, `window` or the inject files, so installed apps offer the update. Name, description and icon fixes need no bump, because installed apps keep their own name and icon.
- `category`: one of `ai`, `productivity`, `social`, `media`, `reading`, `developer`.
- `name` and `description`: both `en` and `zh-Hans`. The description is one short line on what the site does, without a trailing period.
-- `icon`: the site's own apple-touch-icon or largest app icon over https, or its official app's App Store icon when that reads better, ideally 512 px. It is downloaded once when the apps are built, not at runtime.
+- `icon`: the site's own apple-touch-icon or largest app icon over https, or its official app's App Store icon when that reads better, ideally 512 px. A few sites whose own icon is a black tile that disappears into the gallery's dark background instead use a colored full-bleed 512 square served from Pake's CDN (`cdn.tw93.fun/pake/icons/<id>.png`). It is downloaded once when the apps are built, not at runtime.
- `window`: only options that differ from Pake's defaults, using the window option names of `src-tauri/pake.json` (`width`, `height`, `hide_title_bar`, `incognito` and the others listed in the schema). `user_agent` is a single string used on every platform. Options a platform cannot apply are ignored there.
- `platforms`: set to `["mac"]` or `["windows"]` only when the site is known not to work on the other one.
diff --git a/gallery/apps/figma.json b/gallery/apps/figma.json
index 301296ca..a26ac6d8 100644
--- a/gallery/apps/figma.json
+++ b/gallery/apps/figma.json
@@ -11,5 +11,5 @@
"en": "Design interfaces together",
"zh-Hans": "多人协作的界面设计工具"
},
- "icon": "https://static.figma.com/app/icon/2/icon-512.png"
+ "icon": "https://cdn.tw93.fun/pake/icons/figma.png"
}
diff --git a/gallery/apps/grok.json b/gallery/apps/grok.json
index 534ee114..c5ede190 100644
--- a/gallery/apps/grok.json
+++ b/gallery/apps/grok.json
@@ -11,5 +11,5 @@
"en": "xAI's assistant",
"zh-Hans": "xAI 的 AI 助手"
},
- "icon": "https://grok.com/images/android-chrome-512x512.png"
+ "icon": "https://cdn.tw93.fun/pake/icons/grok.png"
}
diff --git a/gallery/apps/linear.json b/gallery/apps/linear.json
index 817dec58..b69db189 100644
--- a/gallery/apps/linear.json
+++ b/gallery/apps/linear.json
@@ -11,5 +11,5 @@
"en": "Plan and track product work",
"zh-Hans": "规划和跟踪产品开发"
},
- "icon": "https://static.linear.app/assets/pwa/icon_512.png?v=3"
+ "icon": "https://cdn.tw93.fun/pake/icons/linear.png"
}
diff --git a/gallery/apps/perplexity.json b/gallery/apps/perplexity.json
index 88b803eb..20a50bb4 100644
--- a/gallery/apps/perplexity.json
+++ b/gallery/apps/perplexity.json
@@ -11,5 +11,5 @@
"en": "Ask questions and get answers with sources",
"zh-Hans": "提问后给出带来源的回答"
},
- "icon": "https://www.perplexity.ai/apple-touch-icon.png"
+ "icon": "https://cdn.tw93.fun/pake/icons/perplexity.png"
}
diff --git a/gallery/apps/x.json b/gallery/apps/x.json
index b5b8929d..3234ac91 100644
--- a/gallery/apps/x.json
+++ b/gallery/apps/x.json
@@ -11,5 +11,5 @@
"en": "Follow posts and conversations",
"zh-Hans": "看动态和讨论"
},
- "icon": "https://x.com/apple-touch-icon.png"
+ "icon": "https://cdn.tw93.fun/pake/icons/x.png"
}