Auto Update with electron-updater (WIP) #808

Merged
alexliebowitz merged 36 commits from auto-update into master 2018-01-24 23:51:49 +01:00
Showing only changes of commit e39470c3cc - Show all commits

View file

@ -79,6 +79,12 @@ if [ "$FULL_BUILD" == "true" ]; then
yarn build
# Workaround: TeamCity expects the dmg to be in dist/mac, but in the new electron-builder
# it's put directly in dist/ (the right way to solve this is to update the TeamCity config)
if $OSX; then
cp dist/*.dmg dist/mac
IGassmann commented 2018-01-23 19:35:36 +01:00 (Migrated from github.com)
Review

Wouldn't be better to change TeamCity config directly?

Wouldn't be better to change TeamCity config directly?
alexliebowitz commented 2018-01-23 20:52:21 +01:00 (Migrated from github.com)
Review

It would, but I figured we would worry about it later. It's already going to be a little complicated to roll out auto update.

It would, but I figured we would worry about it later. It's already going to be a little complicated to roll out auto update.
fi
# electron-build has a publish feature, but I had a hard time getting
# it to reliably work and it also seemed difficult to configure. Not proud of
# this, but it seemed better to write my own.