[Deprecated] Electron wrapper for Patchwork Classic: run as a desktop app outside the browser
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github
app
config
resources
tasks
.gitignore
.npmrc
README.md
gulpfile.js
package.json

README.md

patchwork-electron

Running from source

$ cd ~
$ git clone https://github.com/ssbc/patchwork-electron.git
$ cd patchwork-electron
$ npm install
$ npm start

To use the latest patchwork version, do the following:

$ cd ~
$ git clone https://github.com/ssbc/patchwork.git
$ cd patchwork
$ npm install
$ npm link
$ cd ~/patchwork-electron/app
$ npm link ssb-patchwork

Troubleshooting

If you get an error similar to:

Uncaught Exception: Error: Module version mismatch. Expected 50, got 48.

It means your installed node version is not compatible with the version of Electron patchwork uses. You'll need to rebuild your node module folder using:

$ npm run rebuild

Building

$ npm run release

More info

This repo is based on https://github.com/szwacz/electron-boilerplate. Check that repo to get more information on the structure and scripts.