From c177672a86c9d9a1a9af8984b1292306f741123d Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Wed, 19 Apr 2023 22:09:30 +0200 Subject: [PATCH] =?UTF-8?q?Le=20wrapper=20waylectron=20permet=20d'ex=C3=A9?= =?UTF-8?q?cuter=20les=20applications=20electron=20qui=20ignorent=20la=20c?= =?UTF-8?q?onfiguration=20avec=20les=20bonnes=20options?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/waylectron | 6 ++++++ bin/webcord | 5 ----- 2 files changed, 6 insertions(+), 5 deletions(-) create mode 100755 bin/waylectron delete mode 100755 bin/webcord diff --git a/bin/waylectron b/bin/waylectron new file mode 100755 index 0000000..f9d64aa --- /dev/null +++ b/bin/waylectron @@ -0,0 +1,6 @@ +#!/bin/sh +PATH="$(echo "$PATH" | cut -d ':' -f 2-)" +exec "$(basename "$0")" \ + "$@" \ + --ozone-platform-hint=auto + diff --git a/bin/webcord b/bin/webcord deleted file mode 100755 index 06e4293..0000000 --- a/bin/webcord +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -exec /usr/bin/webcord \ - "$@" \ - --ozone-platform-hint=auto -