1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2024-12-28 21:32:36 +01:00

fix: steam deck flags

This commit is contained in:
aclist 2024-01-31 19:49:29 +09:00
parent 8d740e51c5
commit 6a2edc0929
3 changed files with 6 additions and 6 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -o pipefail set -o pipefail
version=5.0.0 version=5.0.1
#CONSTANTS #CONSTANTS
aid=221100 aid=221100
@ -536,10 +536,10 @@ fetch_dzq(){
fetch_helpers_by_sum(){ fetch_helpers_by_sum(){
declare -A sums declare -A sums
sums=( sums=(
["ui.py"]="ff5b691c3fc7d95c8f939c36c6c52f1d" ["ui.py"]="fc25d3882401a1415e3287262dee6bfe"
["query_v2.py"]="1822bd1769ce7d7cb0d686a60f9fa197" ["query_v2.py"]="1822bd1769ce7d7cb0d686a60f9fa197"
["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397" ["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397"
["funcs"]="8efaeb3cbcf18609689bd5936b985183" ["funcs"]="1ebd92950042874aeb71500d3c1d8e33"
) )
local author="aclist" local author="aclist"
local repo="dztui" local repo="dztui"
@ -631,7 +631,7 @@ find_default_path(){
-o -path "/sys" -o -path "/etc" -o -path "/var" -o -path "/lost+found" \) -prune \ -o -path "/sys" -o -path "/etc" -o -path "/var" -o -path "/lost+found" \) -prune \
-o -regex ".*/Steam/ubuntu12_32$" -print -quit 2>/dev/null | sed 's@/ubuntu12_32@@') -o -regex ".*/Steam/ubuntu12_32$" -print -quit 2>/dev/null | sed 's@/ubuntu12_32@@')
} }
if [[ $is_steam_deck -eq 1 ]]; then if [[ $is_steam_deck -gt 0 ]]; then
default_steam_path="$HOME/.local/share/Steam" default_steam_path="$HOME/.local/share/Steam"
logger INFO "Set default Steam path to $default_steam_path" logger INFO "Set default Steam path to $default_steam_path"
return 0 return 0

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -o pipefail set -o pipefail
version=5.0.0 version=5.0.1
#CONSTANTS #CONSTANTS
aid=221100 aid=221100

View file

@ -16,7 +16,7 @@ locale.setlocale(locale.LC_ALL, '')
gi.require_version("Gtk", "3.0") gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, GLib, Gdk, GObject, Pango from gi.repository import Gtk, GLib, Gdk, GObject, Pango
# 5.0.0 # 5.0.1
app_name = "DZGUI" app_name = "DZGUI"
cache = {} cache = {}