You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
362 B
JavaScript
12 lines
362 B
JavaScript
const fs = require('fs');
|
|
const path = require('path');
|
|
|
|
exports.prebuild = async function prebuild() {
|
|
if (!fs.existsSync(path.resolve(__dirname, 'file', 'executorserver'))) {
|
|
if (!fs.existsSync(path.resolve(__dirname, 'file'))) {
|
|
fs.mkdirSync(path.resolve(__dirname, 'file'));
|
|
}
|
|
// TODO download executorserver
|
|
}
|
|
};
|