Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Commit f030351

Browse files
authored
Enhance installApp function with heartbeat and installer
Added heartbeat management and installer creation for app installation.
1 parent 3fcedae commit f030351

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Sources/prostore/install/installApp.swift

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,14 @@ import Foundation
33
public func installApp(from ipaURL: URL) throws {
44
print("Installing app from \(ipaURL.path)...")
55

6+
// Heartbeat
7+
HeartbeatManager.shared.start()
8+
9+
// Create installer
10+
let viewModel = InstallerStatusViewModel()
11+
let installer = InstallationProxy(viewModel: viewModel)
12+
13+
// Install IPA
14+
try await installer.install(at: ipaURL)
615
}
16+

0 commit comments

Comments
 (0)