Files
standardnotes-app-web/packages/desktop
Karol Sójko 6f5e1d5818 chore: fix building snap packages (#2683)
* chore: fix building snap packages

* add electron native modules rebuild before snap build

* update snap core env

* remove rebuilds

* update electron builder

* remove base argument from snap

* add review tools

* Revert "remove rebuilds"

This reverts commit 9004d2095d31d0fde4b129550b0046896c12346b.

* fix snap review command

* review tools on test

* change base for snap

* add stage pacakges

* reduce test build to snap only

* fix plugs

* change base to core20

* instal lxd

* install snapcraft with lxd

* fix lxd install

* fix lxd init

* fix lxd configuration

* fix username

* fix permissions

* setup lxd from cannonical

* fix snap packaging

* fix canonical ref

* fix stage-packages

* add build packages to snap

* tmp disable native modules

* fix final step

* fix evernote specs
2023-12-07 06:47:38 +01:00
..
2023-12-01 10:14:25 +01:00
2022-06-13 16:28:50 -05:00
2022-10-14 09:35:37 -05:00
2022-06-07 11:52:15 -05:00
2022-06-07 11:52:15 -05:00
2022-06-09 22:38:38 -05:00
2023-12-06 11:48:20 +00:00
2022-06-07 11:52:15 -05:00

Standard Notes Desktop App

Running Locally

Most commands below hog up a terminal process and must be conducted in different tabs. Be sure to quit any production version of the app running on your system first.

yarn install
cd packages/snjs && yarn start # optional to watch snjs changes
cd packages/web && yarn watch # optional to watch web changes
yarn dev # to start compilation watch process for electron-related code
yarn start # to start dev app

Building natively on arm64

Building arm64 releases on amd64 systems is only possible with AppImage, Debian and universal "dir" targets.

Building arm64 releases natively on arm64 systems requires some additional preparation:

  • export npm_config_target_arch=arm64
  • export npm_config_arch=arm64

A native fpm installation is needed for Debian builds. fpm needs to be available in $PATH, which can be achieved by running

  • gem install fpm --no-document

and making sure $GEM_HOME/bin is added to $PATH.

Snap releases also require a working snapcraft / snapd installation.

Installation

On Linux, download the latest AppImage from the Releases page, and give it executable permission:

chmod u+x standard-notes*.AppImage