1
0
Fork 0
forked from ahurac/dotfiles

Le wrapper waylectron permet d'exécuter les applications electron qui ignorent la configuration avec les bonnes options

This commit is contained in:
Hippolyte Chauvin 2023-04-19 22:09:30 +02:00
parent 81429325ab
commit c177672a86
2 changed files with 6 additions and 5 deletions

6
bin/waylectron Executable file
View file

@ -0,0 +1,6 @@
#!/bin/sh
PATH="$(echo "$PATH" | cut -d ':' -f 2-)"
exec "$(basename "$0")" \
"$@" \
--ozone-platform-hint=auto

View file

@ -1,5 +0,0 @@
#!/bin/sh
exec /usr/bin/webcord \
"$@" \
--ozone-platform-hint=auto