GODT-1837: Fix restart.

GOTD-1837: added wait flag.
GODT-1837: strip --wait flag from launcher command-line.
GODT-1837: hide main window before restart.
This commit is contained in:
Xavier Michelon
2022-08-30 11:56:13 +02:00
parent 2780dc6a67
commit 8bb2a399cc
15 changed files with 237 additions and 67 deletions

View File

@ -42,6 +42,8 @@ func (b *Base) restartApp(crash bool) error {
args = forceLauncherFlag(args, b.launcher)
}
args = append(args, "--wait")
logrus.
WithField("command", b.command).
WithField("args", args).