cef157c584
`collector/cmd/arcrun-tray/`(fyne 版舊桌面殼)自 t193 換 Wails 後退役, t215 已明文記錄是死碼:三支打包腳本全部只裝 `arcrun-app`。 🔴 **但它不是「整個都死」——複驗發現兩塊還在被現役腳本用:** ① `assets/store/*.png`(12 顆 Store 圖示) ← `arcrun-app/build-msix.sh:75` 每次打 msix 都 `cp` 它們。 整個 `git rm` 掉 ⇒ 下一次打 msix 直接斷。 ② `build-msix.sh --setup`(在 Mac 上建 makemsix 的一次性流程) ← `arcrun-app/build-msix.sh:34` 的錯誤訊息就是叫人去跑它。 刪掉 ⇒ 新機器再也照不出 makemsix,而錯誤訊息會指向不存在的檔案。 ⇒ 先把這兩塊逐字搬進 `arcrun-app/`(不重寫),再刪整個目錄。 死碼下架最容易犯的錯就是「連還活著的那一塊一起丟掉」。 ⚠️ **`.git` 不會因此變小**:772 MB 裡的 524 MB 是那三顆二進位 (`ArcrunRAG-mac-unsigned.zip` 16 MB/`arcrun-collector` 15 MB/ `dist-mac/ArcrunRAG-v0.15.7.dmg`)**留在歷史裡**,`git rm` 只停止追蹤。 真正瘦身要重寫歷史(filter-repo)=第三輪,需 leo 親自拍板。 順手更新:`.gitignore` 的三條 tray 路徑(換成 arcrun-app 的 dist-msix)、 `landing/worker.js` 與 `docs/store-submission.md` 裡指向舊素材位置的路徑。 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
39 lines
1.7 KiB
Markdown
39 lines
1.7 KiB
Markdown
# Microsoft Store 圖示素材(msix)
|
||
|
||
這裡的 PNG 是 **產物**,但**隨 repo 版控**——因為 `build-msix.sh` 打包時只做 `cp`,
|
||
不在打包當下重算(打包機不一定拿得到 CIS 素材)。
|
||
|
||
## 真身在哪
|
||
|
||
品牌素材真身=`InkStoneCo/arcrun-cis/`(leo 的 CIS,2026-07-31)。
|
||
**不要在這裡改圖**;要改品牌就改 CIS,然後重跑產生器。
|
||
|
||
## 重新產生
|
||
|
||
```bash
|
||
python3 gen-store-assets.py # 需要 Pillow
|
||
# CIS 不在預設位置時:
|
||
ARCRUN_CIS=/path/to/arcrun-cis python3 gen-store-assets.py
|
||
```
|
||
|
||
## 每個檔案是什麼
|
||
|
||
| 檔案 | 尺寸 | 用途 | 取材 |
|
||
|---|---|---|---|
|
||
| `Square44x44Logo.png` | 44×44 | 應用程式清單、工作列 | 方形 icon |
|
||
| `StoreLogo.png` | 50×50 | Store 頁面小圖 | 方形 icon |
|
||
| `Square71x71Logo.png` | 71×71 | 小磚 | 方形 icon |
|
||
| `Square150x150Logo.png` | 150×150 | 中磚(預設磚) | 方形 icon |
|
||
| `Square310x310Logo.png` | 310×310 | 大磚 | 方形 icon |
|
||
| `Wide310x150Logo.png` | 310×150 | 寬磚 | **橫式 lockup** |
|
||
| `Square44x44Logo.targetsize-{16,24}.png` | 16/24 | 工作列小圖 | **雙 chevron** |
|
||
| `Square44x44Logo.targetsize-{32,48,256}.png` | 32/48/256 | 檔案總管各檢視 | 方形 icon |
|
||
|
||
## 兩條「為什麼不是直接縮」的理由(別再改回去)
|
||
|
||
1. **寬磚不能用方形 icon 硬拉**。舊版寫 `sips -z 150 310 icon.png`,
|
||
`sips -z` 會**照給定的長寬直接拉扁**——實測產出的字符明顯變形,
|
||
違反 CIS 的 Don't「never skew or stretch」。寬磚要用橫式 lockup。
|
||
2. **16/24px 不能用完整方形 icon**。CIS 明寫「26px 以下降級成 chevron」:
|
||
方形 icon 裡的字符只佔畫面高度約 28%,16px 下只剩約 4px 高,糊成一團。
|