question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

electron-updater Support for private Github repository

See original GitHub issue

electron-builder version: 13.7.0:

electron-updater version: 1.6.4

Target Windows:

Electron updater seems unable to locate my private Github repository even when the GH_TOKEN environment variable is set. I’ve tried setting the env variable through the system settings, programatically by altering process.env.GH_TOKEN, and even passing the token parameter in app-update.yml (which seems it might be respected after looking into electron-updater’s code). I’ve verified via logging that process.env.GH_TOKEN is properly set to my token which has all permission scopes granted.

Is there something I am missing or is there a known issue with private Github repositories? If I make the repo public then updater finds it and updates perfectly, so the integration is good.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

11reactions
AlienHobokencommented, Feb 16, 2017

Sounds good, will update with PR

2reactions
develarcommented, Mar 13, 2017

Please try electron-updater 1.9.0 (thanks to @AlienHoboken)

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to config electron-updater for a private GitHub Repo #14
I have private company git repo on a company website and the example is all about GitHub. Where do I have to add...
Read more >
Electron Autoupdater with Private GitHub Repository?
Yes i am using electron-updater. referring the workflow mentioned setting GH_TOKEN and private option.but seems it is not available for all the ...
Read more >
To use a private GitHub repository you would have ... - Medium
To use a private GitHub repository you would have to include your GitHub access token in the code, and configure electron-updater to use...
Read more >
Auto Update - electron-builder
You can use a private repository for updates with electron-updater by setting ... The access token to support auto-update from private github repositories....
Read more >
Auto-update Electron applications with private repositories ...
Learn how to add auto-update support to your commercial Electron applications using ... You need a Github account and a private repository.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found