bradstewart / electron-boilerplate-vue

Boilerplate application for Electron runtime
724 stars 94 forks source link

NSIS ? #12

Closed ramstein74 closed 8 years ago

ramstein74 commented 8 years ago

any ideas? i tried npm run release and got an error...

image

bradstewart commented 8 years ago

Hi @ramstein74, installing http://nsis.sourceforge.net/Main_Page should resolve that issue (it looks your on windows, so it should work fine). NSIS is used to generate the actual Windows installers.

Just an FYI, I recently overhauled the entire project. There's nothing truly wrong with the previous setup, but tried to simplify the build setup, added hot-reload support, and improved test execution. It's currently missing the functionality to generate installers, but I will be adding it back soon (once https://github.com/electron-userland/electron-packager stabilizes). It will use Squirrel rather NSIS.

ramstein74 commented 8 years ago

i solved the NSIS but got this next error. It says Installer ready at the end but an error in line before... image any ideas?

bradstewart commented 8 years ago

What version of NSIS did you install? I believe only 3+ supports Unicode. You can simple comment out/remove L31 of resources/windows/installer.nsi as well if you don't need Unicode support.

ramstein74 commented 8 years ago

solved that and another error. can you help ? image

bradstewart commented 8 years ago

It looks like it's failing to build a native dependency for some reason. It doesn't appear to be an issue with this project specifically, can you confirm other native packages compile without issue on your machine? I don't have a Windows machine handy, so there's not much I can do.