mv egl to wrapper

This commit is contained in:
yaso 2026-06-12 15:49:16 +02:00
parent 4f00feef3e
commit 3f3a014add
2 changed files with 7 additions and 1 deletions

View file

@ -1,5 +1,11 @@
#!/bin/sh
# Generated by flutpak — https://github.com/o-murphy/flutpak
APP=/app/mih
if [ "$FLATPAK_ARCH" = "aarch64" ]; then
ARCH_TRIPLET="aarch64-linux-gnu"
else
ARCH_TRIPLET="x86_64-linux-gnu"
fi
export __EGL_VENDOR_LIBRARY_FILENAMES="/usr/lib/${ARCH_TRIPLET}/GL/glvnd/egl_vendor.d/50_mesa.json"
export LD_LIBRARY_PATH="$APP/lib:${LD_LIBRARY_PATH:-}"
exec "$APP/mzansi_innovation_hub" "$@"