Auto-update failing on Mac OS

No BS

Try looking at response from server particularly Content-Length.

Longer version

I've been asked couple of times and also experienced failure with auto-updater on Mac OS. I've set correct URL, and tested it with curl and directly in browser and got response from server (both 200 and 204).

But somehow I kept getting error event from auto-updater. By investigating some more, it turned out to be problem in response

Read More

Publishing for Windows

This article is part of the Distributing Electron apps series.

If you're looking to publish for OS X, check out previous post.

What's the endgame?

To build EXE installer for our app and be able to automatically update.

Creating installer

If you followed through article where I explained electron-builder, you're mostly done to build distributable for Windows.

Let's clear some things first. It's not the same if you run electron-builder

Read More

Publishing for OS X

This article is part of the Distributing Electron apps series.

If you've missed, I suggest reading explanation of electron-builder first.

What's the endgame?

To build DMG for our app and be able to automatically update.

Creating installer

If you followed through article where I explained electron-builder, you're mostly done to build distributable for OS X.

Electron-builder is going to generate couple of things:

  • Application executable (.app)
  • Squirrel update package (.zip)

Read More

Electron + AngularJS - Adding automatic updates

Update: Stuff changed, so I've wrote a series on implementing auto-update with Squirrel.

This is third part of introduction series to create application with Electron and AngularJS.

If you've missed, first create sample application.

One of the requirement for developing desktop application nowadays is ability to provide automatic updates.

Let me tell you a story...

I used NW.js for some time, but I missed this functionality. I went on

Read More