Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
7e29df2
perf(finder-ext): keep the icon cache warm and stop redundant config …
SonneFish Oct 28, 2026
050e52f
feat(apps): add app presets, per-app menu visibility and icon styles
SonneFish Oct 28, 2026
dae92f4
fix(permissions): open the right System Settings panes and track stat…
SonneFish Oct 28, 2026
15791d4
feat(menu): guard direct delete behind the Command key with toast fee…
SonneFish Oct 28, 2026
cc27f52
chore: ignore .DS_Store
SonneFish Oct 28, 2026
e142efe
feat(apps): open the containing folder for terminal apps when a file …
SonneFish Oct 28, 2026
4daf6f9
fix(apps): make simple icons adapt to dark mode
SonneFish Oct 28, 2026
4a7c9ed
perf(finder-ext): pre-warm icon work and make menu symbol icons follo…
SonneFish Oct 28, 2026
9cda228
feat(terminal): open containing folder when a file is selected
SonneFish Oct 29, 2026
dfd4268
feat(launch): clickable offline hint and settings window launch policy
SonneFish Oct 29, 2026
28061ae
fix(launch): suppress settings window when hint click lands on a runn…
SonneFish Oct 29, 2026
695e122
fix(toast): adapt toast to light/dark mode with popover material and …
SonneFish Oct 29, 2026
0e55af1
fix(settings): keep app row toggles on one line and truncate long app…
SonneFish Oct 29, 2026
db65c2a
refactor(settings): move per-app open-containing-folder toggle into e…
SonneFish Oct 29, 2026
d83dc82
fix: address Finder menu PR review regressions
SonneFish Nov 2, 2026
05f1f23
Merge remote-tracking branch 'upstream/dev' into pr-to-upstream
SonneFish Nov 2, 2026
8ca2914
test: cover menu compatibility and preset behavior
SonneFish Nov 2, 2026
d485682
refactor(delete): remove redundant Command-key guard and toast
SonneFish Nov 2, 2026
e8f75dc
fix(settings): remove AppKit scrollbar and verify config readback
SonneFish Nov 2, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
### Added
- Optional confirmation before permanent (direct) delete: a nested toggle under Direct Delete in Settings → Actions, on by default, so Trash-bypassing deletes ask once more before files are gone

- Built-in app presets, per-app toolbar and context-menu visibility, and none/simple/original app icon styles
- A per-app automatic/on/off option for opening a selected file's containing folder, enabled automatically for terminal presets
- Offline Copy Path and a clickable offline hint that relaunches RClick quietly

### Changed
- Keep Finder icon caches warm, preload workspace icon lookups, and cache SF Symbols separately for light and dark appearances
- Reply to heartbeats without rebuilding or re-sending unchanged menu configurations
- Open settings on manual launches and reopens, while keeping hint-triggered and detected login launches quiet

### Fixed
- Preserve compatibility with menu payloads created before icon styles and per-app visibility were introduced
- Correct the shared App Group used by the quiet-launch marker
- Refresh permission status while settings are visible and update System Settings links
- Complete preset/settings translations and distinguish missing translations from English values equal to their keys

## [2.3.1] - 2026-10-14

### Fixed
Expand Down
239 changes: 192 additions & 47 deletions FinderSyncExt/FinderSyncExt.swift

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions RClick/AppState.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ class AppState: ObservableObject, ActionStateProviding {
// Keep in sync with the default assigned in resetActionItems().
@AppStorage(Key.confirmBeforeDelete, store: .group) var confirmBeforeDelete: Bool = true

/// 应用图标样式:0=无图标 1=简单图标(默认) 2=原始图标。
/// 存在 App Group 里,扩展通过 MenuConfigPayload.iconStyle 拿到。
@AppStorage("appIconStyle", store: .group) var appIconStyle: Int = RCAppIconStyle.simple.rawValue

// 菜单栏显示走 RClickApp / GeneralSettingsTabView 里的那份(store: .group)。
// 这里曾有一份重复声明,没有任何地方读它;两份 store 不同,留着就是个陷阱。

Expand Down Expand Up @@ -122,6 +126,29 @@ class AppState: ObservableObject, ActionStateProviding {
}
}

/// 更新某个应用在工具栏/右键菜单中的可见性(应用列表行的两个开关)
@MainActor
func updateAppVisibility(id: String, showInToolbar: Bool, showInContextMenu: Bool) {
if let index = apps.firstIndex(where: { $0.id == id }) {
var updatedApp = apps[index]
updatedApp.showInToolbar = showInToolbar
updatedApp.showInContextMenu = showInContextMenu
apps[index] = updatedApp
persist()
}
}

/// 更新某个应用的「选中文件时打开所在目录」开关(`nil` 恢复为跟随预设终端分类)
@MainActor
func updateAppOpensContainingDir(id: String, value: Bool?) {
if let index = apps.firstIndex(where: { $0.id == id }) {
var updatedApp = apps[index]
updatedApp.opensContainingDir = value
apps[index] = updatedApp
persist()
}
}

func getAppItem(rid: String) -> OpenWithApp? {
return apps.first { rid == $0.id }
}
Expand Down
Loading