Skip to content

Instantly share code, notes, and snippets.

@develar
Created September 29, 2017 05:34
Show Gist options
  • Save develar/bdf242a3cbf6120ed2300337f71e0982 to your computer and use it in GitHub Desktop.
Save develar/bdf242a3cbf6120ed2300337f71e0982 to your computer and use it in GitHub Desktop.
Sample appveyor.yml to Build Electron App for Windows
image: Visual Studio 2017
platform:
- x64
cache:
- node_modules
- '%USERPROFILE%\.electron'
init:
- git config --global core.autocrlf input
install:
- ps: Install-Product node 8 x64
- yarn
build_script:
- yarn dist
test: off
@develar
Copy link
Author

develar commented Sep 29, 2017

If you don't have dist npm script in your package.json, call ./node_modules/.bin/electron-builder directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment