fix(portative): fix updater check #71
This commit is contained in:
parent
1e2216c70a
commit
e7b85335ed
@ -260,7 +260,13 @@ app.on("ready", async () => {
|
||||
|
||||
if(portative)
|
||||
{
|
||||
autoUpdater.getUpdateInfo().then(info => {
|
||||
autoUpdater.getUpdateInfoAndProvider().then(({info}) => {
|
||||
if(!info)
|
||||
{
|
||||
logTE('updater', 'info not provided for updater')
|
||||
return
|
||||
}
|
||||
|
||||
if(info.version == app.getVersion())
|
||||
{
|
||||
logT('updater', 'update not founded for version', app.getVersion())
|
||||
|
Loading…
Reference in New Issue
Block a user