Ariver
2026-05-06 9ab01e81a56761859344ba43f407d0762107a0dc
checkpoint: v3.1.3 — 清除 Re-index 功能,已脱离 Finder 无意义
13 files modified
60 ■■■■ changed files
Apptag/ApptagApp.swift 15 ●●●●● patch | view | raw | blame | history
Apptag/ContentView.swift 4 ●●●● patch | view | raw | blame | history
Apptag/Info.plist 2 ●●● patch | view | raw | blame | history
Apptag/Localization/en.json 5 ●●●● patch | view | raw | blame | history
Apptag/Localization/es.json 3 ●●●●● patch | view | raw | blame | history
Apptag/Localization/fr.json 3 ●●●●● patch | view | raw | blame | history
Apptag/Localization/it.json 3 ●●●●● patch | view | raw | blame | history
Apptag/Localization/ja.json 5 ●●●● patch | view | raw | blame | history
Apptag/Localization/ko.json 3 ●●●●● patch | view | raw | blame | history
Apptag/Localization/ru.json 3 ●●●●● patch | view | raw | blame | history
Apptag/Localization/zh-Hans.json 5 ●●●● patch | view | raw | blame | history
Apptag/Localization/zh-Hant.json 5 ●●●● patch | view | raw | blame | history
CHANGELOG.md 4 ●●●● patch | view | raw | blame | history
Apptag/ApptagApp.swift
@@ -536,21 +536,6 @@
            // Tab 3: Data
            Form {
                Section {
                    HStack {
                        Button("Re-index Now") {
                            NotificationCenter.default.post(name: .apptagReindex, object: nil)
                        }
                        .buttonStyle(.borderedProminent)
                        Text("Re-scan all app directories and refresh the tag database.")
                            .font(.caption)
                            .foregroundStyle(.secondary)
                    }
                } header: {
                    Text("Index Management")
                }
                Section {
                    HStack(spacing: 12) {
                        Button("Export Tags…") { exportTags() }
                            .buttonStyle(.bordered)
Apptag/ContentView.swift
@@ -4,7 +4,6 @@
// MARK: - Notification for manual re-index
extension Notification.Name {
    static let apptagReindex = Notification.Name("ApptagReindex")
    static let apptagEditModeChanged = Notification.Name("ApptagEditModeChanged")
}
@@ -253,9 +252,6 @@
            refreshApps()
        }
        .onReceive(NotificationCenter.default.publisher(for: NSApplication.didBecomeActiveNotification)) { _ in
            refreshApps()
        }
        .onReceive(NotificationCenter.default.publisher(for: .apptagReindex)) { _ in
            refreshApps()
        }
        .onChange(of: editPhase) { _, newPhase in
Apptag/Info.plist
@@ -19,7 +19,7 @@
    <key>CFBundlePackageType</key>
    <string>APPL</string>
    <key>CFBundleShortVersionString</key>
    <string>3.1.2</string>
    <string>3.1.3</string>
    <key>CFBundleVersion</key>
    <string>1</string>
    <key>LSMinimumSystemVersion</key>
Apptag/Localization/en.json
@@ -22,9 +22,6 @@
  "settings.tagFontDesc": "Adjust the size of group-name labels in the overlay.",
  "settings.iconSize": "Icon size:",
  "settings.iconSizeDesc": "Icon display size. Grid columns adjust automatically.",
  "settings.reindex": "Re-index Now",
  "settings.reindexDesc": "Re-scan all app directories and refresh the tag database.",
  "settings.indexMgmt": "Index Management",
  "settings.backup": "Backup & Restore",
  "settings.export": "Export Tags…",
  "settings.import": "Import Tags…",
@@ -43,4 +40,4 @@
  "tag.cancel": "Cancel",
  "tag.add": "Add",
  "tag.newName": "New tag name"
}
}
Apptag/Localization/es.json
@@ -22,9 +22,6 @@
  "settings.tagFontDesc": "Ajusta el tamaño de las etiquetas de grupo.",
  "settings.iconSize": "Tamaño de iconos:",
  "settings.iconSizeDesc": "Tamaño de visualización de iconos.",
  "settings.reindex": "Reindexar",
  "settings.reindexDesc": "Volver a escanear todos los directorios de apps.",
  "settings.indexMgmt": "Gestión de índice",
  "settings.backup": "Copia de seguridad",
  "settings.export": "Exportar etiquetas…",
  "settings.import": "Importar etiquetas…",
Apptag/Localization/fr.json
@@ -22,9 +22,6 @@
  "settings.tagFontDesc": "Ajuste la taille des noms de groupe dans l'overlay.",
  "settings.iconSize": "Taille des icônes:",
  "settings.iconSizeDesc": "Taille d'affichage des icônes.",
  "settings.reindex": "Réindexer",
  "settings.reindexDesc": "Réanalyser tous les répertoires d'applications.",
  "settings.indexMgmt": "Gestion de l'index",
  "settings.backup": "Sauvegarde et restauration",
  "settings.export": "Exporter les étiquettes…",
  "settings.import": "Importer les étiquettes…",
Apptag/Localization/it.json
@@ -22,9 +22,6 @@
  "settings.tagFontDesc": "Regola la dimensione delle etichette dei gruppi.",
  "settings.iconSize": "Dimensione icone:",
  "settings.iconSizeDesc": "Dimensione di visualizzazione delle icone.",
  "settings.reindex": "Reindicizza",
  "settings.reindexDesc": "Ripeti la scansione di tutte le directory delle app.",
  "settings.indexMgmt": "Gestione indice",
  "settings.backup": "Backup e ripristino",
  "settings.export": "Esporta tag…",
  "settings.import": "Importa tag…",
Apptag/Localization/ja.json
@@ -22,9 +22,6 @@
  "settings.tagFontDesc": "オーバーレイ内のグループ名ラベルのサイズを調整します。",
  "settings.iconSize": "アイコンサイズ:",
  "settings.iconSizeDesc": "アイコンの表示サイズ。グリッド列は自動調整されます。",
  "settings.reindex": "再インデックス",
  "settings.reindexDesc": "すべてのAppディレクトリを再スキャンし、タグデータベースを更新します。",
  "settings.indexMgmt": "インデックス管理",
  "settings.backup": "バックアップと復元",
  "settings.export": "タグをエクスポート…",
  "settings.import": "タグをインポート…",
@@ -43,4 +40,4 @@
  "tag.cancel": "キャンセル",
  "tag.add": "追加",
  "tag.newName": "新規タグ名"
}
}
Apptag/Localization/ko.json
@@ -22,9 +22,6 @@
  "settings.tagFontDesc": "오버레이에서 그룹 이름 레이블의 크기를 조정합니다.",
  "settings.iconSize": "아이콘 크기:",
  "settings.iconSizeDesc": "아이콘 표시 크기입니다.",
  "settings.reindex": "재인덱싱",
  "settings.reindexDesc": "모든 앱 디렉토리를 다시 스캔하고 태그 데이터베이스를 새로 고칩니다.",
  "settings.indexMgmt": "인덱스 관리",
  "settings.backup": "백업 및 복원",
  "settings.export": "태그 내보내기…",
  "settings.import": "태그 가져오기…",
Apptag/Localization/ru.json
@@ -22,9 +22,6 @@
  "settings.tagFontDesc": "Размер названий групп в оверлее.",
  "settings.iconSize": "Размер иконок:",
  "settings.iconSizeDesc": "Размер отображения иконок.",
  "settings.reindex": "Переиндексировать",
  "settings.reindexDesc": "Пересканировать все директории приложений.",
  "settings.indexMgmt": "Управление индексом",
  "settings.backup": "Резервное копирование",
  "settings.export": "Экспорт тегов…",
  "settings.import": "Импорт тегов…",
Apptag/Localization/zh-Hans.json
@@ -22,9 +22,6 @@
  "settings.tagFontDesc": "调整浮层中分组名称标签的大小。",
  "settings.iconSize": "图标大小:",
  "settings.iconSizeDesc": "图标显示尺寸。网格列会自动调整。",
  "settings.reindex": "重新索引",
  "settings.reindexDesc": "重新扫描所有 App 目录并刷新标签数据库。",
  "settings.indexMgmt": "索引管理",
  "settings.backup": "备份与恢复",
  "settings.export": "导出标签…",
  "settings.import": "导入标签…",
@@ -43,4 +40,4 @@
  "tag.cancel": "取消",
  "tag.add": "添加",
  "tag.newName": "新标签名称"
}
}
Apptag/Localization/zh-Hant.json
@@ -22,9 +22,6 @@
  "settings.tagFontDesc": "調整浮層中分組名稱標籤的大小。",
  "settings.iconSize": "圖示大小:",
  "settings.iconSizeDesc": "圖示顯示尺寸。網格列會自動調整。",
  "settings.reindex": "重新索引",
  "settings.reindexDesc": "重新掃描所有 App 目錄並重新整理標籤資料庫。",
  "settings.indexMgmt": "索引管理",
  "settings.backup": "備份與還原",
  "settings.export": "匯出標籤…",
  "settings.import": "匯入標籤…",
@@ -43,4 +40,4 @@
  "tag.cancel": "取消",
  "tag.add": "新增",
  "tag.newName": "新標籤名稱"
}
}
CHANGELOG.md
@@ -1,6 +1,10 @@
# Apptag Changelog
## [3.1.3] — 2026-05-06
- 清除 Re-index 功能:已脱离 Finder,每次 overlay 打开自动扫描新 app,无需手动触发
## [3.1.2] — 2026-05-06
- 修复 Show in Dock 不生效:监听 UserDefaults 变化动态切换 activationPolicy
- 新增 Launch at login(开机启动)开关,默认勾选,首次安装自动启用