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.

autoUpdater.setFeedURL & autoUpdater.getFeedURL don't work

See original GitHub issue
  • Electron Builder Version: 20.28.1
  • Electron Updater Version: 3.1.1
  • Target: Windows

I try to use the function autoUpdater.setFeedURL to change updater default url but nothing happen. autoUpdater.setFeedURL({ "provider": "generic", "url":'http://mywebsite/application/client'});

And when I try to use the function autoUpdater.getFeedURL, the function return Deprecated. Do not use it.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
Silvano14commented, Nov 27, 2020

why is the documentation not up to date?

3reactions
jayarjocommented, Jan 30, 2019

@Applelo you could use checkForUpdates() or getUpdateInfoAndProvider() directly (undocumented for some reason) to see details about current config and more. Both return a Promise though (that’s probably a reason for deprecation of getFeedURL, which apparently was sync).

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use the electron-updater.autoUpdater.setFeedURL ...
To help you get started, we've selected a few electron-updater.autoUpdater.setFeedURL examples, based on popular ways it is used in public projects.
Read more >
autoUpdater.setFeedURL is not a function - Stack Overflow
Here is the code. // auto update functionality const {autoUpdater} = require('electron') // local file system example: const feedURL = 'C:\\ ...
Read more >
How does it work? - Update Rocks!
Set the feed url in your Electron app. Now add the auto update code to your Electron application. See also our example app...
Read more >
Auto Update - electron-builder
Do not call setFeedURL. electron-builder automatically creates app-update.yml file for you on build in the resources (this file is internal, you don't need ......
Read more >
electron auto updater without code signing - You.com | The AI ...
How to get My Electron Auto updater to work? ... Don't call autoUpdater. ... Do not call setFeedURL. electron-builder automatically creates app-update.yml ...
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