/primo-desktop

primo for desktop runs primo on your desktop

Primary LanguageSvelteGNU General Public License v3.0GPL-3.0

Primo Desktop

Run primo on your Desktop

How it works

All your sites get saved as .json files. You can set the directory they get saved to from within the app.

Running

  1. npm install
  2. npm run start

Linking

Running this repo locally will let you modify the electron wrapper around Primo, but not the editor itself. To do that, you'll need to:

  1. Clone primo
  2. cd primo
  3. npm install
  4. npm link
  5. From primo-desktop, run npm link @primo-app/primo
  6. npm run start

This will make it so changes in either directory will be registered by vite.

Building

  1. npm run build
  2. npm run make for Mac (binary at out/primo-darwin-x64/primo.app)
  3. npm run make-windows for Windows (binary at primo-win32-x64/primo.exe)