Add App Bundle Integration
Nucleic-Session: 307EEE49-F1A9-4AF7-B2C1-72C8473CD6B4 Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -691,9 +691,26 @@ private struct MacVMSettingsTab: View {
|
||||
|
||||
if let baseStatus, baseStatus.installed {
|
||||
Text("Rebuild / re-provision the base image above to apply changes to the "
|
||||
+ "already-installed base.")
|
||||
+ "already-installed base — or copy them straight into any running VMs below.")
|
||||
.settingsCaption()
|
||||
}
|
||||
|
||||
if !runningVMs.isEmpty {
|
||||
Button {
|
||||
Task { await pushAppsToRunningVMs() }
|
||||
} label: {
|
||||
Label(
|
||||
"Copy to \(runningVMs.count) running VM\(runningVMs.count == 1 ? "" : "s")",
|
||||
systemImage: "arrow.down.app")
|
||||
}
|
||||
.disabled(pushingApps || bundledApps.isEmpty)
|
||||
Text("Streams the apps above into each running VM's Applications folder over the "
|
||||
+ "guest agent (no rebuild, no restart). Existing copies are replaced.")
|
||||
.settingsCaption()
|
||||
if let appPushStatus {
|
||||
Text(appPushStatus).font(.caption).foregroundStyle(.secondary)
|
||||
}
|
||||
}
|
||||
}
|
||||
.disabled(!serviceEnabled || !supported)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user