1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2025-04-05 12:03:00 +02:00

Change launch order

This commit is contained in:
aclist 2022-08-06 07:38:46 +09:00
parent 48a0350974
commit c3895b1cc7

View file

@ -163,7 +163,7 @@ Categories=Game
END
}
freedesktop_dirs(){
mkdir $HOME/dzgui
mkdir -p $HOME/dzgui
mkdir -p "$freedesktop_path"
#TODO: update url
curl -s "$version_url" > $HOME/dzgui/dzgui.sh
@ -815,6 +815,7 @@ check_version(){
branch="stable"
fi
check_branch
[[ ! -d "$HOME/dzgui" ]] && freedesktop_dirs
if [[ $version == $upstream ]]; then
check_unmerged
else
@ -831,7 +832,6 @@ check_architecture(){
if [[ -n "$cpu" ]]; then
is_steam_deck=1
echo "[DZGUI] Setting architecture to 'Steam Deck'"
[[ ! -d "$HOME/dzgui" ]] && freedesktop_dirs
else
is_steam_deck=0
echo "[DZGUI] Setting architecture to 'desktop'"