Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

259
Views
no se puede hacer la instalación automática en la aplicación de electrones

Estoy tratando de hacer la instalación automática de la aplicación de electrones en Windows consultando el siguiente enlace:

https://www.electronjs.org/docs/latest/api/auto-updater

código:

 const { app, autoUpdater } = require('electron'); function showLoginWindow() { autoUpdater.setFeedURL({url:"S3-bucket-url"}); autoUpdater.checkForUpdates(); autoUpdater.on('update-downloaded', (event, releaseNotes, releaseName) => { const dialogOpts = { type: 'info', buttons: ['Restart', 'Later'], title: 'Application Update', message: process.platform === 'win32' ? releaseNotes : releaseName, detail: 'A new version has been downloaded. Restart the application to apply the updates.' } dialog.showMessageBox(dialogOpts).then((returnValue) => { if (returnValue.response === 0) autoUpdater.quitAndInstall() }) }) autoUpdater.on('error', message => { console.error('There was a problem updating the application') console.error(message) }) }

Pero cuando trato de ejecutar la aplicación, aparece el siguiente error. ¿Alguien podría decirme dónde me estoy equivocando?

[mensaje de error]

https://i.stack.imgur.com/EJGnH.png

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!