19 lines
416 B
Go
19 lines
416 B
Go
//go:build !windows && !darwin
|
|
|
|
package update
|
|
|
|
import (
|
|
"context"
|
|
"fmt"
|
|
)
|
|
|
|
// Apply is not implemented on this OS yet.
|
|
func Apply(ctx context.Context, manifestURL string) (string, error) {
|
|
_ = ctx
|
|
_ = manifestURL
|
|
return "", fmt.Errorf("автообновление пока только для Windows и macOS")
|
|
}
|
|
|
|
// CleanupStaleDownloads is a no-op on unsupported platforms.
|
|
func CleanupStaleDownloads() {}
|