[PR #694] Add snap packaging option #852

Open
opened 2026-03-03 00:23:29 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BoostIO/BoostNote-App/pull/694
Author: @Komediruzecki
Created: 11/21/2020
Status: 🔄 Open

Base: masterHead: feature/snap-packaging


📝 Commits (1)

  • 943926d Add snap packaging option

📊 Changes

1 file changed (+10 additions, -1 deletions)

View changed files

📝 package.json (+10 -1)

📄 Description

Add snap packaging option

Add snap packaging with electron-builder
Specified removable-media as additional interface
Specified snap confinement as strict
Fix unused icon in NotePageToolbar

Users should add interface plug to be able to access removable media ("/mnt", "/media" mount points) via snap CLI:
snap connect <snap-name>:<available-plug-name>
For boostnote-next and this additional interface:
snap connect boostnote-next:removable-media

Snap Name should be registered in Snapcraft

  • Via UbuntuOne developer account: https://snapcraft.io/docs/registering-your-app-name
  • Valid names are boostnote, boostnote-next
  • Invalid names: boostnote.next, boostnote_next
  • Because of this, 'executableName' option sets the corrrect name in package.json and no further changes are needed for packaging.

For publishing new versions follow:
https://snapcraft.io/docs/releasing-your-app

snapcraft login
snapcraft upload --release=stable boostnote-next.snap

For developers, you can install it for testing via:
sudo snap install boostnote-next --dangerous --devmode // for devmode (unconfined environment/isolation)
sudo snap install boostnote-next --dangerous // for strict i.e. set in package.json confinment (for testing as users sees the app)

Later use the same snap connect commands to add removable-media interface plug or others (if available)

To run successfully installed snap:
where <snap-name> // where boostnote-next

Run with: /snap/bin/<snap-name>


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/BoostIO/BoostNote-App/pull/694 **Author:** [@Komediruzecki](https://github.com/Komediruzecki) **Created:** 11/21/2020 **Status:** 🔄 Open **Base:** `master` ← **Head:** `feature/snap-packaging` --- ### 📝 Commits (1) - [`943926d`](https://github.com/BoostIO/BoostNote-App/commit/943926d409715dd4fcf3141f5c02939000aee7e1) Add snap packaging option ### 📊 Changes **1 file changed** (+10 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `package.json` (+10 -1) </details> ### 📄 Description Add snap packaging option Add snap packaging with electron-builder Specified removable-media as additional interface Specified snap confinement as strict Fix unused icon in NotePageToolbar Users should add interface plug to be able to access removable media ("/mnt", "/media" mount points) via snap CLI: `snap connect <snap-name>:<available-plug-name>` For boostnote-next and this additional interface: `snap connect boostnote-next:removable-media` Snap Name should be registered in Snapcraft - Via UbuntuOne developer account: https://snapcraft.io/docs/registering-your-app-name - Valid names are boostnote, boostnote-next - Invalid names: boostnote.next, boostnote_next - Because of this, 'executableName' option sets the corrrect name in package.json and no further changes are needed for packaging. For publishing new versions follow: https://snapcraft.io/docs/releasing-your-app `snapcraft login` `snapcraft upload --release=stable boostnote-next.snap` For developers, you can install it for testing via: `sudo snap install boostnote-next --dangerous --devmode` // for devmode (unconfined environment/isolation) `sudo snap install boostnote-next --dangerous` // for strict i.e. set in package.json confinment (for testing as users sees the app) Later use the same snap connect commands to add removable-media interface plug or others (if available) To run successfully installed snap: `where <snap-name>` // where boostnote-next Run with: `/snap/bin/<snap-name>` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/BoostNote-App#852
No description provided.