upgpkg: discord-electron 0.0.34-2: fix autostart
* Fix autostart as suggested by @LRitzdorf * Improve use of sed commands * Directly execute electron binary
This commit is contained in:
parent
c483c7acdc
commit
5f26ecb9ed
3 changed files with 21 additions and 12 deletions
|
@ -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[@]}" "$@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue