appstore and support: async'ify
This commit is contained in:
@@ -81,7 +81,7 @@ async function startJobs() {
|
||||
// this is run separately from the update itself so that the user can disable automatic updates but can still get a notification
|
||||
gJobs.updateCheckerJob = new CronJob({
|
||||
cronTime: `${randomTick} ${randomTick} 1,5,9,13,17,21,23 * * *`,
|
||||
onTick: () => updateChecker.checkForUpdates({ automatic: true }, NOOP_CALLBACK),
|
||||
onTick: async () => await updateChecker.checkForUpdates({ automatic: true }),
|
||||
start: true
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user