Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
stenzek
GitHub Repository: stenzek/duckstation
Path: blob/master/scripts/packaging/appimage/apprun-cross.sh
4251 views
1
#! /usr/bin/env bash
2
3
# autogenerated by linuxdeploy
4
5
# make sure errors in sourced scripts will cause this script to stop
6
set -e
7
8
this_dir="$(readlink -f "$(dirname "$0")")"
9
10
# generated by linuxdeploy-plugin-qt
11
12
# try to make Qt apps more "native looking" on Gtk-based desktops, if possible
13
# see https://github.com/AppImage/AppImageKit/issues/977#issue-462374883
14
case "${XDG_CURRENT_DESKTOP}" in
15
*GNOME*|*gnome*|*XFCE*)
16
export QT_QPA_PLATFORMTHEME=gtk3
17
;;
18
esac
19
20
exec "$this_dir"/AppRun.wrapped "$@"
21
22
23