add hard restart for updates on *nix

reincarnates app.Restart() removed in
bbb0568cc4 as app.HardRestart().
This commit is contained in:
Harvey Tindall
2021-05-03 20:08:23 +01:00
parent b2b5083102
commit 0e21942cd6
6 changed files with 64 additions and 3 deletions

7
restart_windows.go Normal file
View File

@@ -0,0 +1,7 @@
package main
import "fmt"
func (app *appContext) HardRestart() error {
return fmt.Errorf("hard restarts not available on windows")
}