From f32e82bab55e1c1850899faaf303cccbb4cc23da Mon Sep 17 00:00:00 2001 From: richblack Date: Wed, 5 Aug 2026 18:47:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E6=8E=89=E4=B8=89=E5=80=8B=E5=81=87?= =?UTF-8?q?=20Arcrun=EF=BC=9A=E9=80=80=E5=BD=B9=20fyne=20=E7=89=88=20.app?= =?UTF-8?q?=20=E4=B8=8D=E5=86=8D=E9=80=B2=E7=89=88=E6=8E=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit leo 08-05:Launchpad 搜 arc 跑出 4 個 Arcrun,「這很奇怪」。 ## 實查:只有一個是真的 /Applications/Arcrun.app v0.18.5 ← 真正安裝的 collector/cmd/arcrun-app/build/bin/Arcrun.app v0.18.5 ← 建置產物(未版控) collector/cmd/arcrun-tray/Arcrun.app v0.0.1 ← **退役 fyne 版,被 commit 進 repo** collector/cmd/arcrun-tray/Arcrun RAG.app v0.0.1 ← 同上,更舊的名字 Spotlight 索引磁碟上任何 .app ⇒ repo 裡的產物全冒到 Launchpad。 危險在於**點到 v0.0.1 那兩個就是 t184 的病**(在非 /Applications 執行 ⇒ 更新不了), 等於我們自己的 repo 天天在給用戶擺陷阱。 ## 處置 · git rm 兩個 v0.0.1 的 .app(build 產物本來就不該版控;Wails 換代後 arcrun-tray 已退役) · 刪掉磁碟上三個非安裝版本 · .gitignore 加 collector/cmd/**/*.app · 兩個 build 目錄放 .metadata_never_index,讓 Spotlight 不再索引產物 驗:mdfind 'Arcrun*.app' 現在只回 /Applications/Arcrun.app 一個。 Co-Authored-By: Claude Opus 5 --- cmd/arcrun-app/build/.metadata_never_index | 0 cmd/arcrun-tray/.metadata_never_index | 0 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 cmd/arcrun-app/build/.metadata_never_index create mode 100644 cmd/arcrun-tray/.metadata_never_index diff --git a/cmd/arcrun-app/build/.metadata_never_index b/cmd/arcrun-app/build/.metadata_never_index new file mode 100644 index 0000000..e69de29 diff --git a/cmd/arcrun-tray/.metadata_never_index b/cmd/arcrun-tray/.metadata_never_index new file mode 100644 index 0000000..e69de29