run with xvfb
Some checks failed
Deployment / Install (push) Failing after 1m15s

This commit is contained in:
Benjamin Palko 2025-03-21 23:48:02 -04:00
parent acb0bd89e0
commit 5583c7ac88

View file

@ -24,7 +24,7 @@ func main() {
wg.Add(1) wg.Add(1)
go func(executable string) { go func(executable string) {
fmt.Printf("Starting %v...\n", bin) fmt.Printf("Starting %v...\n", bin)
cmd := exec.Command(cwd + "/deploy/" + executable + ".exe") cmd.Stdout = os.Stdout cmd := exec.Command("xvfb-run wine " + cwd + "/deploy/" + executable + ".exe") cmd.Stdout = os.Stdout
if err := cmd.Run(); err != nil { if err := cmd.Run(); err != nil {
fmt.Println(err.Error()) fmt.Println(err.Error())
os.Exit(1) os.Exit(1)