mirror of
https://github.com/OpenFusionProject/Client.git
synced 2024-11-22 13:40:06 +00:00
5cbe30f39f
* 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
10 lines
227 B
JavaScript
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;
|
|
}
|
|
});
|
|
} |