Add App Bundle Integration

Nucleic-Session: 307EEE49-F1A9-4AF7-B2C1-72C8473CD6B4
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-08 05:12:33 -07:00
co-authored by nucleic
parent 405c6eb3f9
commit a5aa381811
+10
View File
@@ -827,6 +827,16 @@ private struct MacVMSettingsTab: View {
appPushStatus = await store.pushIncludedAppsToRunningMacVMs()
}
/// Inject the configured apps into the existing base image (boot copy power off), so new VMs
/// include them without a full rebuild. Refreshes base status afterward.
private func addAppsToBase() async {
addingToBase = true
baseAddStatus = nil
defer { addingToBase = false }
baseAddStatus = await store.addIncludedAppsToMacVMBase()
baseStatus = await store.macVMBaseStatus()
}
/// Browse for one or more `.app` bundles to include, defaulting to `/Applications`.
private func chooseApps() {
let panel = NSOpenPanel()