From 565ef77ac2c518f2bf0228c7c6f3ee490311886c Mon Sep 17 00:00:00 2001 From: akashtl Date: Sat, 30 May 2020 17:32:59 +0800 Subject: [PATCH] update issue fixed --- lib/desktop_updater.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/desktop_updater.js b/lib/desktop_updater.js index 071ed5951..fbb46c994 100755 --- a/lib/desktop_updater.js +++ b/lib/desktop_updater.js @@ -572,7 +572,7 @@ if (process.env.currentVersion) { var version_data = e.data; if (version_data) { console.log('[DTU]', 'latest-version', 'if condition', process.env.currentBuild); - if(process.env.currentBuild===0) { + if(process.env.currentBuild==='0') { process.env.currentBuild = version_data.buildNumber; } getAppVesrion(); -- GitLab