1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2025-04-06 04:23: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 END
} }
freedesktop_dirs(){ freedesktop_dirs(){
mkdir $HOME/dzgui mkdir -p $HOME/dzgui
mkdir -p "$freedesktop_path" mkdir -p "$freedesktop_path"
#TODO: update url #TODO: update url
curl -s "$version_url" > $HOME/dzgui/dzgui.sh curl -s "$version_url" > $HOME/dzgui/dzgui.sh
@ -815,6 +815,7 @@ check_version(){
branch="stable" branch="stable"
fi fi
check_branch check_branch
[[ ! -d "$HOME/dzgui" ]] && freedesktop_dirs
if [[ $version == $upstream ]]; then if [[ $version == $upstream ]]; then
check_unmerged check_unmerged
else else
@ -831,7 +832,6 @@ check_architecture(){
if [[ -n "$cpu" ]]; then if [[ -n "$cpu" ]]; then
is_steam_deck=1 is_steam_deck=1
echo "[DZGUI] Setting architecture to 'Steam Deck'" echo "[DZGUI] Setting architecture to 'Steam Deck'"
[[ ! -d "$HOME/dzgui" ]] && freedesktop_dirs
else else
is_steam_deck=0 is_steam_deck=0
echo "[DZGUI] Setting architecture to 'desktop'" echo "[DZGUI] Setting architecture to 'desktop'"