Implement app update orchestration (T-402)

This commit is contained in:
ila
2026-07-19 21:39:33 +08:00
parent fda52a57ca
commit 339beaa9b3
19 changed files with 1095 additions and 11 deletions
+3
View File
@@ -1,7 +1,9 @@
package windows
import (
"context"
"errors"
"time"
"softbox.local/core/application/launch"
)
@@ -22,6 +24,7 @@ type Platform interface {
Edition() Edition
IsCompatible(minOS string) (bool, error)
IsRunning(appID, entrypoint string) (bool, error)
WaitForExit(ctx context.Context, appID, entrypoint string, timeout time.Duration) error
Start(command launch.Command) (int, error)
}