Disable auto-updater on non-versioned builds (#5042)
This commit is contained in:
@ -320,6 +320,11 @@ export function getAutoUpdater(): AppUpdater {
|
|||||||
}
|
}
|
||||||
|
|
||||||
app.on('ready', () => {
|
app.on('ready', () => {
|
||||||
|
// Disable auto updater on non-versioned builds
|
||||||
|
if (packageJSON.version === '0.0.0') {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
const autoUpdater = getAutoUpdater()
|
const autoUpdater = getAutoUpdater()
|
||||||
// TODO: we're getting `Error: Response ends without calling any handlers` with our setup,
|
// TODO: we're getting `Error: Response ends without calling any handlers` with our setup,
|
||||||
// so at the moment this isn't worth enabling
|
// so at the moment this isn't worth enabling
|
||||||
|
Reference in New Issue
Block a user