Skip to content

Commit

Permalink
[Snap] Tweak warzone2100-launcher.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Aug 26, 2023
1 parent b99221a commit 9c2dd7f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/snap/warzone2100-launcher.sh
Expand Up @@ -8,4 +8,7 @@ if [ ! -d "$SNAP_USER_COMMON/warzone2100" ]; then
fi
fi

exec env "XDG_DATA_HOME=$SNAP_USER_COMMON" env "XDG_CONFIG_HOME=$SNAP_USER_COMMON" "$@"
export XDG_DATA_HOME="${SNAP_USER_COMMON}"
export XDG_CONFIG_HOME="${SNAP_USER_COMMON}"

exec "$@"

0 comments on commit 9c2dd7f

Please sign in to comment.