Free, open-source screen sharing for private live streams with friends. Watch together in a browser or self-host Piik. 免费开源的私密屏幕共享,支持游戏直播、一起看电影与自部署。
fix(website): clarify Android mirror downloads and platform icons (#508)
AAAe169b48aaaf5
diff --git a/docs/guide/getting-started.md b/docs/guide/getting-started.mdindex 318789aa..617d6d1f 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 selectdiff --git a/docs/guide/getting-started.zh-CN.md b/docs/guide/getting-started.zh-CN.mdindex 5731abbb..4a7211d5 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.mdindex 35fd7ea8..0e58b505 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 loadsfilm A when opened and unloads it when closed. Update its authored artwork whenproduct 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 rangesfor seeking the soundtrack. Keep asset links relative so both a customdomain and GitHub's `/Piik/` project path work. For a nested deployment, setdiff --git a/site/assets/platform-notices.txt b/site/assets/platform-notices.txtnew file mode 100644index 00000000..2d1c9298--- /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.htmlindex cd9bd0d8..d728f467 100644--- a/site/index.html+++ b/site/index.html@@ -48,12 +48,6 @@stroke-linejoin="round"/></symbol>- <symbol id="phone-mark" viewBox="0 0 32 32">- <g fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round">- <rect x="8" y="2" width="16" height="28" rx="4" />- <path d="M14 6h4m-4 20h4" />- </g>- </symbol></svg><header class="site-header wrap">@@ -792,8 +786,16 @@<div class="download-cards"><article class="download-card" aria-labelledby="download-windows"><div class="platform-mark" aria-hidden="true">- <svg viewBox="0 0 32 32">- <path d="M4 5h10v10H4zm14 0h10v10H18zM4 19h10v10H4zm14 0h10v10H18z" fill="currentColor" />+ <svg+ viewBox="0 0 32 32"+ fill="none"+ stroke="currentColor"+ stroke-width="2.2"+ stroke-linecap="round"+ stroke-linejoin="round"+ >+ <rect x="3" y="5" width="26" height="22" rx="3" />+ <path d="M3 12h26M12 12v15M7 8.5h.1m3.9 0h.1" /></svg></div><h4 id="download-windows">Windows</h4>@@ -817,8 +819,7 @@stroke-linecap="round"stroke-linejoin="round">- <rect x="6" y="4" width="20" height="18" rx="2" />- <path d="M3 27h26M10 22l-2 5m14-5 2 5" />+ <path d="M12 12H8a4 4 0 1 1 4-4v16a4 4 0 1 1-4-4h16a4 4 0 1 1-4 4V8a4 4 0 1 1 4 4Z" /></svg></div><h4 id="download-macos">macOS</h4>@@ -873,19 +874,32 @@<div class="download-cards download-cards--mobile"><article class="download-card" aria-labelledby="download-android"><div class="platform-mark" aria-hidden="true">- <svg aria-hidden="true"><use href="#phone-mark" /></svg>+ <svg+ viewBox="0 0 32 32"+ fill="none"+ stroke="currentColor"+ stroke-width="2.2"+ stroke-linecap="round"+ stroke-linejoin="round"+ >+ <path d="M4 24a12 12 0 0 1 24 0ZM9 13 6 8m17 5 3-5" />+ <circle cx="11" cy="20" r="1.3" fill="currentColor" stroke="none" />+ <circle cx="21" cy="20" r="1.3" fill="currentColor" stroke="none" />+ </svg></div><h4 id="download-android">Android</h4><p class="download-variant">ARM64 / x64</p><a class="lr-btn button download-button" href="https://github.com/TNTcraftHIM/Piik/releases/latest/download/piik-app-android-universal.apk"><svg aria-hidden="true"><use href="#download-mark" /></svg><span lang="en">Download from GitHub</span><span lang="zh-CN">GitHub 下载</span></a- ><a href="https://gitee.com/TNTcraftHIM/Piik/releases/download/latest/piik-app-android-universal.apk"- ><span lang="en">Download from Gitee</span><span lang="zh-CN">Gitee 国内镜像下载</span></a>+ ><a href="https://gitee.com/TNTcraftHIM/Piik/releases/download/latest/piik-app-android-universal.zip"+ ><span lang="en">Gitee ZIP (extract to install)</span><span lang="zh-CN">Gitee 国内镜像(ZIP,解压安装)</span></a><p class="download-note"><span lang="en">Android 10 or later.</span><span lang="zh-CN">Android 10 及以上。</span></p></article><article class="download-card" aria-labelledby="download-ios"><div class="platform-mark" aria-hidden="true">- <svg aria-hidden="true"><use href="#phone-mark" /></svg>+ <svg viewBox="0 0 32 32">+ <text x="16" y="16" dy=".35em" text-anchor="middle" fill="currentColor" font-size="18" font-weight="700">iOS</text>+ </svg></div><h4 id="download-ios">iOS</h4><p class="download-variant">iPhone / iPad</p>@@ -976,6 +990,8 @@><span aria-hidden="true"> ↗</span></a><a href="https://github.com/TNTcraftHIM/Piik/blob/main/LICENSE"><span lang="en">MIT license</span><span lang="zh-CN">MIT 许可证</span></a+ ><a href="./assets/platform-notices.txt"+ ><span lang="en">Icon credits</span><span lang="zh-CN">图标署名</span></a></div><details class="display-settings" id="display-settings" hidden>