Skip to content

Application is not updating automatically via private GitHub repo #46

@muhsin-k

Description

@muhsin-k

I have followed all the steps in this doc

Version:

  • electron: 7.1.3
  • electron-updater: 4.2.0
  • electron-builder: 21.2.0
  • electron-notarize: 0.2.1
  • Working on: MacOS Catalina 10.15

Build Config

"build": {
      {
        "repo": <REPO_NAME>,
        "private": true,
        "owner": "muhzi4u",
        "provider": "github",
        "publishAutoUpdate": true,
        "GH_TOKEN": <GITHUB_TOKEN>
      }
    ]
  }

Electron Entry


const { autoUpdater } = require('electron-updater');
app.on('ready', async () => {
  autoUpdater.checkForUpdatesAndNotify();
  createWindow();
});

The app is uploading to GitHub releases.

Screenshot 2020-02-05 at 5 09 59 PM

But when I release the further versions. The app is not updating automatically. What is the issue here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions