fixed linux app launcher to take care of all versions of electron

This commit is contained in:
Nek-12 2021-04-07 13:01:10 +03:00
parent ff3a89f65c
commit f91e1d19ac
2 changed files with 1 additions and 2 deletions

0
bin.js Normal file → Executable file
View File

View File

@ -79,8 +79,7 @@ module.exports = async function ({ overwrite_version, friendly_errors } = {}) {
await fs.outputFile( await fs.outputFile(
bin_path, bin_path,
bin_script bin_script
.replace('electron app.asar\n', 'electron app\n') .replace(' app.asar ', ' app ')
.replace('electron6 app.asar\n', 'electron6 app\n')
); );
} }
} }