From e169b48aaaf5ff55f52a7bcb15db115849c2efbd Mon Sep 17 00:00:00 2001
From: AAA <35992542+TNTcraftHIM@users.noreply.github.com>
Date: Mon, 26 Oct 2026 15:24:02 -0400
Subject: [PATCH] fix(website): clarify Android mirror downloads and platform
icons (#508)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
## Problem and outcome / 问题与结果
The Android mirror download now points to a ZIP that users extract before installing the APK. GitHub keeps the direct APK download. The existing v2.5.0 signed APK is unchanged inside the additional ZIP attachment.
Use the approved platform icon set in the website's existing download cards, retain the Linux icon, and add Android artwork attribution and platform-name notices. Both getting-started guides explain the mirror's extraction step. Website previews now explicitly use the built output so shared language and theme controls are present.
## Verification / 验证
- `npm run build:website`, `npm run check`, repository hygiene and `git diff --check` passed.
- Reviewed the download cards in English and Chinese, light and dark themes, and desktop and mobile layouts. Checked language and theme switching on the built website.
- Verified the ZIP checksum and its inner APK against the original v2.5.0 release.
- `node scripts/release-version.mjs plan` returns `publish: false`.
## Impact / 影响
Website and documentation deployment only. No new App or Server version; no application, protocol or storage changes. The added ZIP contains the original signed APK, and existing release files remain available.
---
docs/guide/getting-started.md | 3 +-
docs/guide/getting-started.zh-CN.md | 3 +-
docs/operations/website.md | 2 ++
site/assets/platform-notices.txt | 19 +++++++++++++
site/index.html | 44 ++++++++++++++++++++---------
5 files changed, 55 insertions(+), 16 deletions(-)
create mode 100644 site/assets/platform-notices.txt
diff --git a/docs/guide/getting-started.md b/docs/guide/getting-started.md
index 318789aa3..617d6d1f4 100644
--- a/docs/guide/getting-started.md
+++ b/docs/guide/getting-started.md
@@ -44,7 +44,8 @@ restrictive networks may load the page but block video.
1. Download **Piik App** for your platform from
[GitHub Releases](https://github.com/TNTcraftHIM/Piik/releases) or the
[Gitee mirror](https://gitee.com/TNTcraftHIM/Piik/releases). On phones and tablets,
- install the app. On a computer, extract the whole archive and keep its directory structure intact.
+ install the app; extract the APK first if you use the Gitee ZIP. On a computer,
+ extract the whole archive and keep its directory structure intact.
2. Open `piik-app.exe` on Windows, `Piik App.app` on macOS, or `./piik-app` on Linux.
On phones and tablets, open Piik after installation. The launcher opens in your system browser.
3. Choose **Public invite** for friends outside your local network, then select
diff --git a/docs/guide/getting-started.zh-CN.md b/docs/guide/getting-started.zh-CN.md
index 5731abbb5..4a7211d5c 100644
--- a/docs/guide/getting-started.zh-CN.md
+++ b/docs/guide/getting-started.zh-CN.md
@@ -40,7 +40,8 @@ Piik 支持一位房主分享屏幕,最多 20 位受邀观众观看。先选
1. 从 [GitHub Releases](https://github.com/TNTcraftHIM/Piik/releases) 或
[Gitee 镜像](https://gitee.com/TNTcraftHIM/Piik/releases)下载以 **`piik-app`** 开头、
- 对应平台的程序包。手机或平板安装 App,电脑上完整解压并保留目录结构。
+ 对应平台的程序包。手机或平板安装 App;Gitee ZIP 需先解压,再安装其中的 APK。
+ 桌面端完整解压并保留目录结构。
2. Windows 打开 `piik-app.exe`,macOS 打开 `Piik App.app`,Linux 运行 `./piik-app`。
手机或平板安装后打开 Piik。启动页会在系统浏览器里打开。
3. 邀请不在同一局域网的朋友时,选择 **公网邀请**,再点击 **进入 Piik**。
diff --git a/docs/operations/website.md b/docs/operations/website.md
index 35fd7ea86..0e58b505f 100644
--- a/docs/operations/website.md
+++ b/docs/operations/website.md
@@ -129,6 +129,8 @@ Open `http://127.0.0.1:18890`. Rebuild after editing source. The homepage loads
film A when opened and unloads it when closed. Update its authored artwork when
product changes affect the scenes. The separate real-component fixture at
`/film/ui/index.html` supplies README screenshots.
+Preview the built output, not `site/index.html`: the source is a template whose
+shared theme controls and welcome text are filled in by the website build.
Publish the static `build/site/` output. Vite preview supports HTTP byte ranges
for seeking the soundtrack. Keep asset links relative so both a custom
domain and GitHub's `/Piik/` project path work. For a nested deployment, set
diff --git a/site/assets/platform-notices.txt b/site/assets/platform-notices.txt
new file mode 100644
index 000000000..2d1c92985
--- /dev/null
+++ b/site/assets/platform-notices.txt
@@ -0,0 +1,19 @@
+Android robot
+
+The Android robot is reproduced or modified from work created and shared by
+Google and used according to terms described in the Creative Commons 3.0
+Attribution License.
+
+Source: https://developer.android.com/distribute/marketing-tools/brand-guidelines
+License: https://creativecommons.org/licenses/by/3.0/
+Changes by Piik: simplified to a monochrome outline with rounded strokes.
+
+Android is a trademark of Google LLC.
+
+Platform names
+
+Apple, Mac, macOS, iPhone and iPad are trademarks of Apple Inc., registered in
+the U.S. and other countries and regions.
+IOS is a trademark or registered trademark of Cisco in the U.S. and other
+countries. Apple uses the iOS name under license from Cisco.
+Intel is a trademark of Intel Corporation or its subsidiaries.
diff --git a/site/index.html b/site/index.html
index cd9bd0d89..d728f467c 100644
--- a/site/index.html
+++ b/site/index.html
@@ -48,12 +48,6 @@
stroke-linejoin="round"
/>
-
-
-
-
-
-