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

Steps to Build Electron? #104

Open
danoli3 opened this issue Dec 15, 2015 · 3 comments
Open

Steps to Build Electron? #104

danoli3 opened this issue Dec 15, 2015 · 3 comments

Comments

@danoli3
Copy link
Member

danoli3 commented Dec 15, 2015

So to Build the Electron project are the following steps correct:

npm install electron-packager --save-dev
npm install electron-packager -g

Then the following:

npm install

nam start

npm run build

Then how do you specify what target?

@mattfelsen
Copy link
Member

Hey @danoli3. I think electron-packager gets installed when you run npm install. I don't remember running it manually myself.

Yes on npm install to install all the modules and npm start to get it running.

npm run build will build for all platforms. I think that this is supposed to work, but I believe I got an error when it was trying to package for linux..

platform-specifc variants are...

  • npm run build:osx
  • npm run build:linux32
  • npm run build:linux64
  • npm run build:vs

You can see them if you take a look at the scripts section inside package.json

@arturoc
Copy link
Member

arturoc commented Dec 16, 2015

you can also find the very latest build incluing the binary for the command line tool in the correct place here

http://ci.openframeworks.cc/projectGenerator/

the ci servers build the PG whenever there's any change and put it there for the nightlies packaging tool.

@mattfelsen
Copy link
Member

I think this can get closed now that #105 is merged

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

No branches or pull requests

3 participants