0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2024-12-23 22:22:59 +03:00

App quiting fix

This commit is contained in:
Andrey Onishchenko 2024-01-29 19:48:31 +03:00
parent 711980db10
commit 9f68480abb

View File

@ -86,6 +86,9 @@ find "./" -type f -name "*.html" -print0 | while IFS= read -r -d $'\0' file; do
done done
echo "Title Fixed" echo "Title Fixed"
echo "Fixing App Quiting"
sed -i "s/window.on('close', (event) => {/window.on('close', (event) => {electron_1.app.quit();/g" "./main/lib/handlers/handleWindowLifecycleEvents.js"
if [ -n "$extract_only" ]; then if [ -n "$extract_only" ]; then
exit 0 exit 0
fi fi