Remove hardcoded checkForUpdates.js version value

Uses About API instead of the deprecated HifiAbout API.
This commit is contained in:
kasenvr 2020-09-02 18:40:43 -04:00 committed by GitHub
parent 1e15458c64
commit ee554ad8f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ var networkingConstants = Script.require("./libraries/networkingConstants.js");
// We'll want a way to specify this later, auto detection can also be a thing, but strictly optional.
var currentBuildType = "latest";
var currentVersion = "2020.2.3-Asteria"; // HifiAbout.buildVersion;
var currentVersion = About.buildVersion;
// Notification Variables
var NOTIFICATION_CHANNEL = "System-Notifications";