File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -29,10 +29,10 @@ repos:
2929 - repo : https://github.com/rhysd/actionlint
3030 rev : v1.7.6
3131 hooks :
32- - id : actionlint-system
32+ - id : actionlint
3333
3434 - repo : https://github.com/woodruffw/zizmor
35- rev : v0.5 .0
35+ rev : v0.8 .0
3636 hooks :
3737 - id : zizmor
3838 files : ^\.github/workflows/.*\.ya?ml$
Original file line number Diff line number Diff line change @@ -75,7 +75,14 @@ HERE="$(dirname "$(readlink -f "$0")")"
7575export TERM=xterm-256color
7676export GHOSTTY_RESOURCES_DIR="${HERE}/usr/share/ghostty"
7777
78- exec "${HERE}"/ld-linux-x86-64.so.2 --library-path "${HERE}"/usr/lib "${HERE}"/usr/bin/ghostty "$@"
78+
79+ exec_command='exec "${HERE}"/ld-linux-x86-64.so.2 --library-path "${HERE}"/usr/lib "${HERE}"/usr/bin/ghostty "$@"'
80+
81+ # Attempt to run normally or fallback GDK_BACKEND to x11
82+ if ! eval "$exec_command"; then
83+ GDK_BACKEND=x11 eval "$exec_command"
84+ fi
85+
7986EOF
8087
8188chmod +x AppRun
You can’t perform that action at this time.
0 commit comments