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.
Hydro/module/sandbox-linux-amd64/build.js

12 lines
362 B
JavaScript

5 years ago
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
}
};