Skip to content
Airhogs777 edited this page Jan 4, 2017 · 13 revisions

Installing

This project has a kind of screwy git history, and the branch master is abandoned. Make sure you're in the develop branch or nothing will work.

Running locally

npm start

If you have the Heroku command-line-interface (CLI) set up, you can also use heroku local

Running the player locally

cd player/
npm install
npm start

Building the packaged apps

node package.js should generate new versions of the apps. If you're not on Windows, you'll need to install the wine CLI.

It could take more than one computer to generate the packaged apps, so instead, I'd recommend that you get your changes working in /player and then manually copy them over into each app package in /electron-cache.

macOS Issue

Initially, the macOS package won't work. You'll want to resolve all symbolic links in /electron-cache/photron-darwin-x64/photron.app/Contents/Frameworks. This means replacing /Electron Framework.framework/Electron Framework with /Electron Framework.framework/versions/A/Electron Framework, and so on with the other files in that directory, and the other frameworks. I do this in 2 commits to make sure git doesn't confuse files with the same names:

  1. Delete the aliases
  2. Move the files

Publishing

git push heroku develop:master (no-one should have to do this but me, I'm just putting it here in case I forget it)

Clone this wiki locally