Skip to content

feat(macutil): add Install tab and delete the script runner - #10

Merged
Cryptokid92 merged 43 commits into
mainfrom
mac-8-install
Aug 29, 2026
Merged

Cryptokid92 merged 43 commits into
mainfrom
mac-8-install

Conversation

@Cryptokid92

Copy link
Copy Markdown
Owner

Why

The Applications tab still ran embedded bash through ScriptService. Install should list config/applications.json and detect with Homebrew. This PR makes that the GUI path and deletes the script runner.

Scope

  • Add MacUtilGUI/ViewModels/AppRowViewModel.fs and MacUtilGUI.Tests/InstallTabTests.fs.
  • MainWindowViewModel lists catalog.Apps, checks boxes with BrewClient.installed, and installs with BrewClient.install.
  • MainWindow.axaml replaces the Applications script list with Install checkboxes and a Search box.
  • Delete ScriptService.fs, ScriptInfo.fs, ScriptCategory.fs, Tomlyn, scripts/tabs.toml, tab_data.toml, and the applications-setup and system-setup scripts.
  • Tweaks tab stays. Window background stays #1C1C1E. Title stays MacUtil. No sudo brew.

Tradeoffs

Detect uses BrewClient only. It does not match names under /Applications. On this host brew list --cask does not include Visual Studio Code, so that box starts unchecked.

Blast Radius

The Run Script button is gone. Homebrew install is the app path. Tweaks still detect, apply, and undo. User-domain defaults still never run as root.

Verification

dotnet test MacUtilGUI.Tests --configuration Release passed 19 tests, including InstallDetectChecksBox, EmptyInstallWritesNothing, SearchFiltersList, and the Tweaks tab tests.

rg ScriptService MacUtilGUI is empty. rg 'Run Script' and rg tab_data are empty.

Launch screenshot is at /Users/test/.grok/docs/macutil-plan-media/mac-8-review.png. The Install tab lists catalog apps as checkboxes. Visual Studio Code is unchecked. The Tweaks tab remains.

The Install tab lists apps from config/applications.json. BrewClient.installed
checks a box when brew already has the cask or formula. Search filters the list.
Install with no selection writes nothing.

Callers no longer use the script runner. Follow-up commits delete ScriptService.fs
and the embedded tab_data scripts.
MainWindow lists catalog apps as checkboxes. Detect uses BrewClient.installed.
Install uses BrewClient.install with no sudo. Program.fs stays last.
Replace the Applications script list with Install checkboxes and a search box.
Keep window background #1C1C1E and the MacUtil title.
@Cryptokid92
Cryptokid92 merged commit 00d96c0 into main Aug 29, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant