upgpkg: discord-electron-openasar 0.0.34+816-2: fix autostart

* Fix autostart desktop file
* Improve use of sed commands
* Directly execute electron binary
* Update to latest OpenAsar commit (no asar changes)
This commit is contained in:
Manuel 2023-11-09 16:57:54 +01:00
parent 61c85c37f6
commit c0736d00bf
3 changed files with 22 additions and 15 deletions

View file

@ -39,7 +39,7 @@ done
unset flags_file krisp_bin krisp_b2
exec /usr/bin/electron@ELECTRON@ \
exec /usr/lib/@ELECTRON@/electron \
/usr/lib/@PKGNAME@/app.asar \
--ozone-platform-hint=auto \
"${flags[@]}" "$@"