electron-updater does not update app, ERR_CONNECTION_REFUSED error
See original GitHub issue- electron-builder version: 19.45.2
- electron-updater version: 2.16.1
- target: [“zip”, “dmg”]
I am trying to use electron-updater for a Mac app release. I’ve built on top of basic-electron-react-boilerplate and added in electron-builder and electron-updater.
My workflow looks like this:
- Make changes to code
- Push code to repository
- Run
npm run build
which is short forwebpack --config webpack.build.config.js
- Run
npm run publish
which is short forbuild -p always
, which spits out mydmg
,zip
,latest-mac
files, etc and publishes them to a GitHub Release. - Download and install
dmg
(an initial releasev0.0.1
, so no updates available yet) - Repeat steps 1-4, and when my first update
v0.0.2
is uploaded as GitHub Release, reopenv0.0.1
and expect it to update tov0.0.2
, which it does not.
my main.js
:
and my error message:
Any advice would be greatly appreciated! Let me know if you’d like any additional details, like my package.json
or otherwise.
Issue Analytics
- State:
- Created 6 years ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Electron ERR_CONNECTION_REFUSED to localhost:3000 ...
Ever since I've built this application, I can no longer run npm run dev to develop this app locally (localhost:3000), I get this...
Read more >ElectronNET/community - Gitter
I'm trying to use a react/typescript project made with create react app and am currently getting a "react-scripts: command not found" error. Any...
Read more >Updating Applications | Electron
There are several ways to update an Electron application. The easiest and officially supported one is taking advantage of the built-in Squirrel framework ......
Read more >ERR_CONNECTION_REFUSED | How to fix the error - IONOS
The ERR_CONNECTION_REFUSED error is a client-side problem that can be caused by incorrect firewall, system or browser settings, but also by ...
Read more >Angular Service Worker - Step-By-Step Guide
The first step to create an Angular PWA is to upgrade the Angular CLI to the latest ... SwUpdate for managing application version...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@naheller It will looks a little bit crazy, but works. https://github.com/electron-userland/electron-builder-binaries/releases is an example of such repo.
Where did you publish your app to? Is the
latest-mac.json
file publicly accessible?