diff --git a/src/firstRun/stub.js b/src/firstRun/stub.js index 8fed1ae..c212a8f 100644 --- a/src/firstRun/stub.js +++ b/src/firstRun/stub.js @@ -1,2 +1,2 @@ // Generic exports for stub (Linux and Darwin use it), normal Discord -exports.performFirstRunTasks = () => {}; \ No newline at end of file +exports.do = () => {}; \ No newline at end of file diff --git a/src/updater/appUpdater.js b/src/updater/appUpdater.js index 07712c0..67d22a4 100644 --- a/src/updater/appUpdater.js +++ b/src/updater/appUpdater.js @@ -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); }