Loading...

Snapcraft Live - Publishing electron apps as snaps for Linux

329 views

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Streamed live on May 24, 2019

This week, we look at building and publishing Linux snap packages of applications written using electron.

## Building snaps - publishing electron apps as snaps

## Goal

* Learn how to build snaps with electron
* Locate the documentation

## Agenda

* Grab a simple electron app
* Modify it to build snaps
* Build a snap
* Look at the documentation
* Q&A

## References

* https://github.com/electron/electron-...

### Documentation

* https://snapcraft.io/first-snap#electron
* https://docs.snapcraft.io/electron-apps
* https://www.electron.build/configurat...
* https://docs.snapcraft.io/supported-i...

### Commands

* `snap install node --channel=12/stable`
* `npm install --save-dev electron-builder`
* `npm run dist`
* `snap pack`
* `snapcraft pack`
* `snap help pack` or `snap pack --help`
* `snapcraft help pack`
* `snap try dir/`

Loading...

When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...