Client/build/delete-default-app.js
CakeLancelot 5cbe30f39f Various package.json tweaks
* On `npm run dist`, build both nsis and zip
* Delete unnecessary default-app folder after pack
* Make sure installers are 32 bit
* Amend `repository` field
2021-05-17 03:09:24 -05:00

10 lines
227 B
JavaScript

const fs = require('fs');
const dir = './dist/win-ia32-unpacked/resources/default_app'
exports.default = async function(context) {
fs.rmdir(dir, { recursive: true }, (err) => {
if (err) {
throw err;
}
});
}