Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 890 Bytes

README.md

File metadata and controls

50 lines (36 loc) · 890 Bytes

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