mirror of
https://github.com/OpenFusionProject/Client.git
synced 2025-11-17 18:10:06 +00:00
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
This commit is contained in:
10
build/delete-default-app.js
Normal file
10
build/delete-default-app.js
Normal file
@@ -0,0 +1,10 @@
|
||||
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;
|
||||
}
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user