world refactor
This commit is contained in:
@@ -99,10 +99,6 @@ func (l *loader) runOnce(ctx context.Context) error {
|
||||
l.logText(fmt.Sprintf("Starting UI client v%s", target.Version))
|
||||
l.logText(fmt.Sprintf("Executable: %s", target.Path))
|
||||
|
||||
fyne.Do(func() {
|
||||
l.debugWindow.Hide()
|
||||
})
|
||||
|
||||
exitCode, runErr := l.runner.Run(ctx, target.Path)
|
||||
markErr := l.updater.MarkLaunchResult(target.Version, exitCode, runErr)
|
||||
|
||||
@@ -124,7 +120,7 @@ func (l *loader) init(ctx context.Context) {
|
||||
l.btn.Hide()
|
||||
l.btn.Disable()
|
||||
// show debugWindow can be done with future debug mode, e.g. with -debug flag
|
||||
// l.window.Show()
|
||||
l.debugWindow.Hide()
|
||||
})
|
||||
|
||||
err := l.runOnce(ctx)
|
||||
|
||||
Reference in New Issue
Block a user