complete ebrowser app update

This commit is contained in:
James Feng Cao 2024-06-18 23:45:21 +08:00
parent c3173e0f97
commit 070d64e7e2
1 changed files with 1 additions and 1 deletions

View File

@ -540,7 +540,7 @@ async function updateApp(url){//url must ending with "/"
} }
let nVer; let nVer;
{ {
let ver = process.versions; let ver = app.getVersion();
let iS = ver.lastIndexOf('.'); let iS = ver.lastIndexOf('.');
nVer = parseInt(ver.substring(iS+1)); nVer = parseInt(ver.substring(iS+1));
} }