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:
CakeLancelot
2021-05-17 03:06:26 -05:00
parent 78b6c86410
commit 5cbe30f39f
2 changed files with 29 additions and 5 deletions

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