-
Notifications
You must be signed in to change notification settings - Fork 134
Description
Hi, I'm just trying to run the Quickstart example but I'm facing some issues.
I have installed Gallium following the step-by-step from the Installation section in the README file.
Now, I'm trying to create a new Go project following these steps:
On the Go workspace:
$ mkdir example
$ cd example
$ touch example.go
$ open example.go
I copied the following code to the example.go file:
package main
import (
"os"
"runtime"
"github.com/alexflint/gallium"
)
func main() {
runtime.LockOSThread() // must be the first statement in main - see below
gallium.Loop(os.Args, onReady) // must be called from main function
}
func onReady(app *gallium.App) {
app.OpenWindow("http://example.com/", gallium.FramedWindow)
}Then I ran the following commands:
$ go build
$ go install github.com/alexflint/gallium/cmd/gallium-bundle
$ gallium-bundle example
$ open example.app
And I got the following error message:
LSOpenURLsWithRole() failed with error -10810 for the file /Users/username/Developer/GoWorkspace/src/github.com/username/example/example.app.
Also when I try to run the go run example.go command I get it signal: killed.
I don't know if it is a Gallium issue or if I'm doing something wrong, but I couldn't figure out what is happening. If someone can help me I will appreciate.
I'm running it on MacOS Sierra Version 10.12.5 using Go version 1.8.
By the way, congratulations for the great project.