Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updater bug #8756

Open
alphaleadership opened this issue Jan 1, 2025 · 2 comments
Open

updater bug #8756

alphaleadership opened this issue Jan 1, 2025 · 2 comments

Comments

@alphaleadership
Copy link

  • Electron-Builder Version:
  • Node Version: 23.0.0
  • Electron Version:latest
  • Electron Type (current, beta, nightly):current

^6.3.9

  • Target: windows

the updater not get latest release in repository

@alphaleadership
Copy link
Author

and this is obviously a problem

@alphaleadership
Copy link
Author

patch with ugly method //autoUpdater.allowDowngrade=true function getRedirectedUrl(url) { return new Promise((resolve, reject) => { https.get(url, (res) => { if (res.statusCode >= 300 && res.statusCode < 400 && res.headers.location) { resolve(res.headers.location); } else { reject(new Error('No redirection found')); } }).on('error', (err) => { reject(err); }); }); } with your release page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant