-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Integrating electron-builder for better distributables building #972
Conversation
@@ -1,7 +1,17 @@ | |||
{ | |||
"name": "Mist", | |||
"version": "0.8.0", | |||
"version": "0.8.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
# Conflicts: # gulpfile.js
Got distributables building for all platforms, but when I try to install on Windows it comes up with a JS syntax error. I wasn't getting this before either. Need to figure it out. |
Are you making sure that when you rename darwin to mac, that files are properly catched, as the electron builder uses darwin and also the downloadable geth packages |
I need to double-check everything obviously. But fairly sure that's all working now. |
Finally this is ready for review! |
Tried running it but wasn't able to build anything:
|
This PR is out of date now, I need to refactor it. |
# Conflicts: # nodes/eth/mac-x64/libevmasm.dylib # nodes/eth/mac-x64/liblll.dylib # nodes/eth/mac-x64/libnatspec.dylib # nodes/eth/mac-x64/libsolidity.dylib # nodes/eth/mac-x64/libtestutils.dylib # nodes/eth/win-x64/eth.ilk # nodes/eth/win-x64/eth.pdb # nodes/eth/win-x64/msvcp120.dll # nodes/eth/win-x64/msvcr120.dll # package.json
Merged with develop and fixed some issues. |
Also upgraded to Electron 1.3.5 as part of fix. |
When building from mac, make sure to:
After setting up, I managed to build everything. I'll test properly on all platforms and improve the DMG background. @hiddentao question: what are those .nupkg generated on windows folders? I guess it's something related to VisualStudio development – so we'd better use the .exe, right? |
@evertonfraga The .nupkg files are just intermediates, and can be ignored. Exe's are what you want. |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
This replaces
electron-packager
with electron-builder so that we can build distributables with installers for both Mist and the Wallet.darwin
tomac
inside code and gulpfile because that's what electron-builder usesdist_mist/release
ordist_wallet/release
depending on chosen app type (mist, wallet)