[FirstRun] Use generic stub file for reuse

This commit is contained in:
Ducko 2021-12-14 22:50:09 +00:00
parent 6140f6fff4
commit 4c535cfb89
4 changed files with 4 additions and 5 deletions

View File

@ -1,2 +1 @@
// Stub in normal Discord
exports.performFirstRunTasks = () => {};
module.exports = require('./stub');

View File

@ -1,3 +1,2 @@
// Stub for now at least
module.exports = require('./' + process.platform);

View File

@ -1,2 +1 @@
// Stub in normal Discord
exports.performFirstRunTasks = () => {};
module.exports = require('./stub');

2
src/firstRun/stub.js Normal file
View File

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