Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a better packaging script that works on linux #57

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

whyrusleeping
Copy link

I wanted to be able to package this on linux, so i grabbed a packaging script from another electron app.

var appVersion = pkgjson.version
var appName = 'Playback'
var electronPackager = './node_modules/.bin/electron-packager'
var electronVersion = pkgjson.devDependencies['electron-prebuilt']
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

require('electron-prebuilt/package.json').version is more cleaner since we then can use a semver again

@whyrusleeping
Copy link
Author

Alright, that looks better

@perguth
Copy link

perguth commented Jan 3, 2016

Great this is in the pipes!

@peteruithoven
Copy link

How does this pull request compare to the linux run script that's already there?
https://github.com/mafintosh/playback/blob/master/package.json#L41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants