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