Implement self-update recovery (T-403)
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
"time"
|
||||
|
||||
"softbox.local/core/application/launch"
|
||||
"softbox.local/core/updater"
|
||||
)
|
||||
|
||||
type platformStub struct{}
|
||||
@@ -39,3 +40,15 @@ func (platformStub) WaitForExit(context.Context, string, string, time.Duration)
|
||||
func (platformStub) Start(launch.Command) (int, error) {
|
||||
return 0, ErrUnsupported
|
||||
}
|
||||
|
||||
func (platformStub) WaitForProcessExit(context.Context, int, time.Duration) error {
|
||||
return ErrUnsupported
|
||||
}
|
||||
|
||||
func (platformStub) StartSelfUpdate(updater.StartCommand) (int, error) {
|
||||
return 0, ErrUnsupported
|
||||
}
|
||||
|
||||
func (platformStub) SyncDirectory(string) error {
|
||||
return ErrUnsupported
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user