Implement app update orchestration (T-402)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user