tray: fix crashlogs, restart from web

This commit is contained in:
Harvey Tindall
2021-08-16 20:41:07 +01:00
parent 9693ce3dcd
commit eb3489b34f
6 changed files with 26 additions and 93 deletions
+5 -1
View File
@@ -2619,6 +2619,10 @@ func (app *appContext) restart(gc *gin.Context) {
// no need to syscall.exec anymore!
func (app *appContext) Restart() error {
RESTART <- true
if TRAY {
TRAYRESTART <- true
} else {
RESTART <- true
}
return nil
}