better syntax

pull/1705/head
antelle 2021-01-09 18:48:48 +01:00
parent feb44be9d0
commit e092caa2ef
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ const Updater = {
MinUpdateSize: 10000,
nextCheckTimeout: null,
updateCheckDate: new Date(0),
enabled: Launcher && Launcher.updaterEnabled(),
enabled: Launcher?.updaterEnabled(),
getAutoUpdateType() {
if (!this.enabled) {