Verified Commit 97854ce7 authored by Camil Staps's avatar Camil Staps 🚀

Fix packager script: ignore build.js correctly; use ignore field of options

parent a24a1ce1
......@@ -15,7 +15,7 @@ module.exports=function (_opts) {
/^\/WebPublic$/,
/^\/iTasks-electron$/,
/^\/Clean System Files$/,
/^build.js$/,
/^\/build.js$/,
],
afterCopy: [
(buildPath,version,platform,arch,done) => {
......@@ -42,7 +42,7 @@ module.exports=function (_opts) {
};
if ('ignore' in _opts)
opts.ignore.concat (_opts.ignore);
opts.ignore=opts.ignore.concat (_opts.ignore);
return packager (opts);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment