Skip to content

feat: add snap build target for Linux#4

Open
forgou37 wants to merge 1 commit intoprofullstack:masterfrom
forgou37:master
Open

feat: add snap build target for Linux#4
forgou37 wants to merge 1 commit intoprofullstack:masterfrom
forgou37:master

Conversation

@forgou37
Copy link
Copy Markdown

@forgou37 forgou37 commented May 6, 2026

Adds Snap packaging support to the electron-builder Linux configuration.

Changes

  • Added snap target (x64 + arm64) to the linux targets in electron-builder.yml
  • Added snap: configuration block with:
    • confinement: strict — sandboxed distribution via Snap Store
    • grade: stable
    • Required plugs for screen sharing: x11, wayland, audio-record, audio-playback, camera, network, desktop, opengl, screen-inhibit-control

Usage

pnpm desktop:package:linux
# or specifically:
pnpm build && electron-builder --linux snap

This produces a .snap file in apps/desktop/out/ that can be distributed via the Snap Store or installed locally with snap install --dangerous pairux_*.snap.

Closes #3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pairux needs a snap build

1 participant