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

fix: type coercion

This commit is contained in:
aclist 2024-01-13 07:25:36 +09:00
parent cadcae9b9d
commit 1e17b9b9a3
3 changed files with 6 additions and 6 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -o pipefail
version=5.0.0.rc-9
version=5.0.0.rc-10
#CONSTANTS
aid=221100
@ -527,7 +527,7 @@ fetch_dzq(){
fetch_helpers_by_sum(){
declare -A sums
sums=(
["ui.py"]="309e9f77f7820d4387f148a2b6898bc4"
["ui.py"]="bafc59a53216c12e3d3b605512cbe900"
["query_v2.py"]="1822bd1769ce7d7cb0d686a60f9fa197"
["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397"
["funcs"]="d9b0e6fa68314c18ac7aad565645948f"
@ -789,7 +789,7 @@ initial_setup(){
steam_deps
migrate_files
stale_symlinks
# fetch_helpers > >(pdialog "Fetching additional helper files")
fetch_helpers > >(pdialog "Fetching additional helper files")
local_latlon
is_steam_running
is_dzg_downloading

View file

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

View file

@ -15,7 +15,7 @@ locale.setlocale(locale.LC_ALL, '')
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, GLib, Gdk, GObject, Pango
# 5.0.0-rc.8
# 5.0.0-rc.10
app_name = "DZGUI"
cache = {}
@ -1479,7 +1479,7 @@ def toggle_signal(owner, widget, func_name, bool):
class App(Gtk.Application):
def __init__(self):
_isd = sys.argv[4]
_isd = int(sys.argv[4])
if _isd == 1:
is_steam_deck = True
else: