From ba9fced3dbe963fa023eb4c58456ca4b09341dc4 Mon Sep 17 00:00:00 2001 From: qurious-pixel <62252937+qurious-pixel@users.noreply.github.com> Date: Thu, 4 Nov 2021 14:11:31 -0700 Subject: [PATCH] Create app-variables.sh --- .github/workflows/scripts/linux/app-variables.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/workflows/scripts/linux/app-variables.sh diff --git a/.github/workflows/scripts/linux/app-variables.sh b/.github/workflows/scripts/linux/app-variables.sh new file mode 100644 index 0000000000..8494144056 --- /dev/null +++ b/.github/workflows/scripts/linux/app-variables.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +export LD_LIBRARY_PATH="$APPDIR/usr/lib:$LD_LIBRARY_PATH" +export BINARY_NAME=$(basename "$ARGV0") +if [[ ! -e "$PWD/$BINARY_NAME.config" ]]; then + mkdir "$PWD/$BINARY_NAME.config" +fi +export XDG_CONFIG_HOME="$PWD/$BINARY_NAME.config" + +mkdir -p $HOME/.local/share/icons/hicolor/scalable/apps && cp $APPDIR/PCSX2.png $HOME/.local/share/icons/hicolor/scalable/apps