通过演示应用程序发现 Astilectron 的力量
This package is a demo of an astilectron app that uses the bootstrap and the bundler.
It's also the subject of this blog post.
This project is not maintained anymore.
Run the following commands:
$ go get -u github.com/asticode/go-astilectron-demo/...
$ rm {root_of_this_repo}/bind.go Run the following command:
$ go get -u github.com/asticode/go-astilectron-bundler/...
$ go install github.com/asticode/go-astilectron-bundler/astilectron-bundlerGo get and build the binary.
And don't forget to add $GOPATH/bin to your $PATH.
Run the following commands:
$ cd {root_of_this_repo}
$ astilectron-bundlerThe result is in the output/- folder and is waiting for you to test it!
To bundle the app for more environments, add an environments key to the bundler configuration (bundler.json):
"environments": [
{"arch": "amd64", "os": "linux"},
{"arch": "386", "os": "windows"}
]and repeat step 3.
暂无开放 Issues,或尚未同步最近议题。