asticode / go-astilectron

Build cross platform GUI apps with GO and HTML/JS/CSS (powered by Electron)
MIT License
4.9k stars 344 forks source link

Nothing happens after `go run ./example/ -v` #257

Closed hajimehoshi closed 4 years ago

hajimehoshi commented 4 years ago

I git-cloned this project and run go-run, but no window was shown.

$ go run ./example/ -v
2020/06/21 18:37:44 astikit: starting worker...
2020/06/21 18:37:44 Starting...
2020/06/21 18:37:44 Provisioning...
2020/06/21 18:37:44 Provisioning Astilectron...
2020/06/21 18:37:44 Removing directory /Users/hajimehoshi/go-astilectron/example/vendor/astilectron
2020/06/21 18:37:44 Downloading https://github.com/asticode/astilectron/archive/v0.39.0.zip into /Users/hajimehoshi/go-astilectron/example/vendor/astilectron-v0.39.0.zip
2020/06/21 18:37:44 astikit: sending GET request to https://github.com/asticode/astilectron/archive/v0.39.0.zip (1/1)
2020/06/21 18:37:45 Creating directory /Users/hajimehoshi/go-astilectron/example/vendor/astilectron
2020/06/21 18:37:45 Unzipping /Users/hajimehoshi/go-astilectron/example/vendor/astilectron-v0.39.0.zip/astilectron-0.39.0 into /Users/hajimehoshi/go-astilectron/example/vendor/astilectron
2020/06/21 18:37:45 Provisioning Electron...
2020/06/21 18:37:45 Removing directory /Users/hajimehoshi/go-astilectron/example/vendor/electron-darwin-amd64
2020/06/21 18:37:45 Downloading https://github.com/electron/electron/releases/download/v7.1.10/electron-v7.1.10-darwin-x64.zip into /Users/hajimehoshi/go-astilectron/example/vendor/electron-darwin-amd64-v7.1.10.zip
2020/06/21 18:37:45 astikit: sending GET request to https://github.com/electron/electron/releases/download/v7.1.10/electron-v7.1.10-darwin-x64.zip (1/1)

Am I missing something? Thanks,

asticode commented 4 years ago

It seems the process is stuck at downloading electron. You should give it some time in case your internet connection is not optimal.

hajimehoshi commented 4 years ago

Thanks. It look 10-20 minutes to download, and the application worked!