mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
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
|
|
}
|
|
};
|