[FirstRun] Rename export

This commit is contained in:
Ducko 2022-03-25 22:54:12 +00:00
parent 185863400e
commit 50907d05e1
2 changed files with 2 additions and 2 deletions

View file

@ -1,2 +1,2 @@
// Generic exports for stub (Linux and Darwin use it), normal Discord
exports.performFirstRunTasks = () => {};
exports.do = () => {};

View file

@ -16,7 +16,7 @@ exports.update = (startMin, done, show) => {
inst.on('InconsistentInstallerState', fatal);
inst.on('update-error', handled);
require('../firstRun').performFirstRunTasks(inst);
require('../firstRun').do(inst);
} else {
require('./moduleUpdater').init(Constants.UPDATE_ENDPOINT, require('../appSettings').getSettings(), buildInfo);
}