Skip to content

Commit

Permalink
added description xquartz in launcher tab on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
16domsim committed Nov 11, 2021
1 parent 5165672 commit 49fe48b
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions launcher/internal/gui/launchTab.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package gui
import (
"fmt"
"math"
"runtime"
"strings"

"fyne.io/fyne/v2"
Expand All @@ -17,12 +18,20 @@ var statusLabel *widget.Label = nil
var statusLabelSameMessageCount = 0

func newLaunchTab(w fyne.Window) fyne.CanvasObject {
hello := widget.NewLabel(`Welcome to the sasm docker launcher!
Before you start, make sure to have these tools installed:
- Docker
- XServer
var hellos string

Once you have them installed, just click Launch :D`)
if runtime.GOOS == "darwin" {
hellos = `XQuartz`
} else {
hellos = `XServer`
}

hello := widget.NewLabel(fmt.Sprintf(`Welcome to the sasm docker launcher!
Before you start, make sure to have these tools installed:
- Docker
- %s
Once you have them installed, just click Launch :D`, hellos))

statusLabel = widget.NewLabel("")

Expand Down

0 comments on commit 49fe48b

Please sign in to comment.