[FirstRun] Rename export
This commit is contained in:
parent
185863400e
commit
50907d05e1
2 changed files with 2 additions and 2 deletions
|
@ -1,2 +1,2 @@
|
||||||
// Generic exports for stub (Linux and Darwin use it), normal Discord
|
// Generic exports for stub (Linux and Darwin use it), normal Discord
|
||||||
exports.performFirstRunTasks = () => {};
|
exports.do = () => {};
|
|
@ -16,7 +16,7 @@ exports.update = (startMin, done, show) => {
|
||||||
inst.on('InconsistentInstallerState', fatal);
|
inst.on('InconsistentInstallerState', fatal);
|
||||||
inst.on('update-error', handled);
|
inst.on('update-error', handled);
|
||||||
|
|
||||||
require('../firstRun').performFirstRunTasks(inst);
|
require('../firstRun').do(inst);
|
||||||
} else {
|
} else {
|
||||||
require('./moduleUpdater').init(Constants.UPDATE_ENDPOINT, require('../appSettings').getSettings(), buildInfo);
|
require('./moduleUpdater').init(Constants.UPDATE_ENDPOINT, require('../appSettings').getSettings(), buildInfo);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue