Add App Bundle Integration
Nucleic-Session: 307EEE49-F1A9-4AF7-B2C1-72C8473CD6B4 Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user