Proton Sample Apps provides examples on how to use Proton.
The samples apps are migrated from electron-sample-apps.
All samples are test on Electron 1.4.12, and Proton 0.1.0.
- Install Electron via
npm install -g electron
. - Install proton. More informations on home page.
- Go into proton-sample-apps, and
bundle install
. - Inside every folder, just use
proton --start main.rb
. - Sometimes, many files are required to be compiled. In this case, use
ruby build.rb
inside every folder.
More informations can be found on Electron Github Page and Electron Home Page.