diff --git a/src/firstRun/darwin.js b/src/firstRun/darwin.js index fb6b9ea..c9ebd99 100644 --- a/src/firstRun/darwin.js +++ b/src/firstRun/darwin.js @@ -1,2 +1 @@ -// Stub in normal Discord -exports.performFirstRunTasks = () => {}; \ No newline at end of file +module.exports = require('./stub'); \ No newline at end of file diff --git a/src/firstRun/index.js b/src/firstRun/index.js index 00cdcbc..c7fdb7b 100644 --- a/src/firstRun/index.js +++ b/src/firstRun/index.js @@ -1,3 +1,2 @@ // Stub for now at least - module.exports = require('./' + process.platform); \ No newline at end of file diff --git a/src/firstRun/linux.js b/src/firstRun/linux.js index fb6b9ea..c9ebd99 100644 --- a/src/firstRun/linux.js +++ b/src/firstRun/linux.js @@ -1,2 +1 @@ -// Stub in normal Discord -exports.performFirstRunTasks = () => {}; \ No newline at end of file +module.exports = require('./stub'); \ No newline at end of file diff --git a/src/firstRun/stub.js b/src/firstRun/stub.js new file mode 100644 index 0000000..8fed1ae --- /dev/null +++ b/src/firstRun/stub.js @@ -0,0 +1,2 @@ +// Generic exports for stub (Linux and Darwin use it), normal Discord +exports.performFirstRunTasks = () => {}; \ No newline at end of file