fraidycat icon indicating copy to clipboard operation
fraidycat copied to clipboard

Auto-update desktop app

Open username1290 opened this issue 5 years ago • 3 comments

  • [X] I have checked the Rejected Features page.
  • [X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

My great idea for Fraidycat is: Auto-updateeeeeee

Thank youuuuuuu for kickscondor as well!

username1290 avatar May 20 '20 16:05 username1290

Updating works on Windows - but not on Mac. This is due to signing issues with Electron/NPM something in there.

However, I'm moving away from Electron in an upcoming release - so hopefully I can address this then.

kickscondor avatar May 20 '20 19:05 kickscondor

Electron's autoUpdater uses Squirrel.Mac and for autoupdates to work, the release needs to be signed. Electron-builder's electron-updater doesn't rely on Squirrel, but still needs to be signed and notarized by Apple. It costs 99 dollars per annum just to join their Developer Program.

You will most likely run into this issue, even if you move away from Electron (at least to my understanding) as it's hard if not impossible on Catalina to run unsigned applications unless they're dev builds, which are not really convenient for distribution and setting up.

There are some workarounds for bypassing Gatekeeper, which checks if the apps are signed, but

  1. it exposes a security risk for the users as they have to trust basically all installers and
  2. it's pretty hit and miss if it even works, I couldn't bypass it for our internal apps no matter what I did.

httpsterio avatar Jun 05 '20 03:06 httpsterio

Well the current builds are notarized, but not signed. I don't recall the issue I had with signing - but I couldn't even complete builds with Electron if I attempted to sign the build. I was even able to use someone's developer account to do it. But no good.

I'll take another stab when I move away from Electron.

kickscondor avatar Jun 05 '20 08:06 kickscondor