Skip to content

cjp256/electron-snap-examples

Repository files navigation

electron-builder-hello-world

Example snapping electron apps using electron-builder:

# Build it.
cd electron-builder-hello-world
npm install
npm run dist

# Install it.
sudo snap install dist/*.snap --dangerous

# Run it.
electron-builder-hello-world

electron-packager-hello-world

Example snapping electron apps using electron-packager:

# Build it.
cd electron-packager-hello-world
snapcraft

# Install it.
sudo snap install *.snap --dangerous

# Run it.
electron-packager-hello-world

electron-packager-hello-world-sandbox

Example snapping electron apps using electron-packager, running the with chromium sandboxing:

# Build it.
cd electron-packager-hello-world-sandbox
snapcraft

# Install it.
sudo snap install *.snap --dangerous
sudo snap connect electron-packager-hello-world-sandbox:browser-sandbox

# Run it.
electron-packager-hello-world-sandbox

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published