mirror of https://github.com/keeweb/keeweb
patching electron
parent
d3f79af2ab
commit
5af7837468
@ -0,0 +1,12 @@
|
||||
module.exports = function (grunt) {
|
||||
grunt.registerMultiTask('electron-patch', 'Patches Electron executable', async function () {
|
||||
const patch = require('electron-evil-feature-patcher');
|
||||
|
||||
for (const { src } of this.files) {
|
||||
for (const path of src) {
|
||||
grunt.log.writeln(`Patching ${path}...`);
|
||||
patch({ path });
|
||||
}
|
||||
}
|
||||
});
|
||||
};
|
Loading…
Reference in New Issue