first commit
This commit is contained in:
12
cli/internal/app/reexec_windows.go
Normal file
12
cli/internal/app/reexec_windows.go
Normal file
@@ -0,0 +1,12 @@
|
||||
//go:build windows
|
||||
|
||||
package app
|
||||
|
||||
import "fmt"
|
||||
|
||||
// reexecSelf on Windows cannot replace the running process (syscall.Exec is a
|
||||
// stub that returns EWINDOWS). Instead, inform the user to restart manually.
|
||||
func reexecSelf(_ string, _ []string, _ []string) error {
|
||||
fmt.Println("Updated successfully. Please restart bifrost.")
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user