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

Releasing for Windows #35

Closed
officert opened this issue Dec 7, 2015 · 0 comments · Fixed by #42
Closed

Releasing for Windows #35

officert opened this issue Dec 7, 2015 · 0 comments · Fixed by #42
Assignees

Comments

@officert
Copy link
Owner

officert commented Dec 7, 2015

Need to get packaging working for Windows. Currently we use the electron-packager module to package the app into executables.

In gulp.js is a gulp task called release. This uses the electron-packager module to package the app into executables for OSX, Windows and Linux. Currently it only supports releasing for OSX.

When you switch the platform : all and `arch : all`` flags, you get an error when releasing for Windows.

electronPackager({
    dir: '.',
    name: appConfig.name,
    out: appConfig.releasePath,
    // platform: 'all',
    // arch: 'all',
    platform: 'darwin',
    arch: 'x64',
    version: '0.35.0',
    ignore: RELEASE_IGNORE_PKGS.map((ignore) => {
      return '/node_modules/' + ignore + '($|/)';
    }),
    icon: RELEASE_IMAGE_ICON,
    appPath: 'build/browser/main.js',
    force: true
  }, next);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants