Files
Hydro/module/sandbox-linux-amd64/build.js
T
2020-05-10 17:03:16 +08:00

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
}
};