[autoUpdate] Switch from CircleCI to GitHub Releases
This commit is contained in:
parent
81bb416498
commit
0e1561127a
5 changed files with 61 additions and 38 deletions
|
@ -134,14 +134,13 @@ export class utils {
|
|||
bw.win.webContents.send('update-response', "update-error")
|
||||
return;
|
||||
}
|
||||
|
||||
const options: any = {
|
||||
provider: 'github',
|
||||
protocol: 'https',
|
||||
releaseType: utils.getStoreValue('general.update_branch') === "develop" ? "prerelease" : "release",
|
||||
owner: 'ciderapp',
|
||||
repo: 'cider-releases',
|
||||
allowDowngrade: true,
|
||||
}
|
||||
|
||||
let autoUpdater: any = null
|
||||
if (process.platform === 'win32') { //Windows
|
||||
autoUpdater = await new NsisUpdater(options)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue