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

115
Views
Electron Updater - Digital Ocean Spaces
export default class AppUpdater {
    constructor() {
        const options = {
            provider: 'generic',
            url: 'https://example.com/auto-updates'
        }

        const autoUpdater = new NsisUpdater(options)
        autoUpdater.addAuthHeader(`Bearer ${token}`)
        autoUpdater.checkForUpdatesAndNotify()
    }
}

I am trying to make an updater for my electron app and I want to use Digital Ocean Spaces. Can anybody help me to format the above code to Digital Ocean Spaces format. In Electron Updater docs there is not a specific guide for how to connect Digital Ocean.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Have a look at this GitHub repository: In the "build" section in package.json you need

"publish": {
    "provider": "spaces",
    "name": "xxxxxxxxxx",
    "region": "nyc3",
    "acl": "public-read"
}

Put your DO_KEY_ID and DO_SECRET_KEY in electron-builder.env which you exclude via neagtive selector, again in the "build"section:

"files": [
    "!electron-builder.env"
]
about 4 years ago · Juan Pablo Isaza Report
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!