Discover the power of Astilectron through a demo app
Switch branches/tags
Nothing to show
Clone or download
Latest commit 1fca816 Jun 16, 2018
Failed to load latest commit information.
resources Updated asticode js libs Jan 20, 2018
.gitignore Updated bundler Apr 22, 2018
LICENSE Initial commit Aug 20, 2017 Updated readme Dec 3, 2017
bind.go Fixed go get Apr 22, 2018
bundler.json Updated bundler Apr 22, 2018
main.go Fixed about menu Jun 16, 2018
message.go Split explore function Dec 2, 2017
screenshot.png Added screenshot Dec 3, 2017

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.


Step 1: install the demo

Run the following commands:

$ go get -u
$ rm $GOPATH/src/

Step 2: install the bundler

Run the following command:

$ go get -u

And don't forget to add $GOPATH/bin to your $PATH.

Step 3: bundle the app for your current environment

Run the following commands:

$ cd $GOPATH/src/
$ astilectron-bundler -v

Step 4: test the app

The result is in the output/<your os>-<your arch> folder and is waiting for you to test it!

Step 5: bundle the app for more environments

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.