mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-19 19:19:03 +00:00
fixed linux app launcher to take care of all versions of electron
This commit is contained in:
parent
ff3a89f65c
commit
f91e1d19ac
@ -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')
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user