From e3b035a02461fab11803f6041a1920b22f2a0f9d Mon Sep 17 00:00:00 2001 From: Nek-12 Date: Sat, 10 Apr 2021 09:12:41 +0300 Subject: [PATCH] fixed remove.js --- pkg/remove.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/remove.js b/pkg/remove.js index 98d608c..1be6cf5 100644 --- a/pkg/remove.js +++ b/pkg/remove.js @@ -108,8 +108,7 @@ module.exports = async function ({ await fs.outputFile( bin_path, bin_script - .replace('electron app\n', 'electron app.asar\n') - .replace('electron6 app\n', 'electron6 app.asar\n') + .replace(' app ', ' app.asar ') ); } }