This commit is contained in:
恍兮惚兮 2024-11-15 00:36:41 +08:00
parent dbeaefbee3
commit 2cff474cc2

View File

@ -5,7 +5,7 @@ from myutils.config import globalconfig, static_data, _TR
from myutils.wrapper import threader, tryprint from myutils.wrapper import threader, tryprint
from myutils.hwnd import getcurrexe from myutils.hwnd import getcurrexe
from myutils.utils import makehtml, getlanguse, dynamiclink from myutils.utils import makehtml, getlanguse, dynamiclink
import requests import requests, sys
import shutil, gobject import shutil, gobject
from myutils.proxy import getproxy from myutils.proxy import getproxy
import zipfile, os import zipfile, os
@ -54,6 +54,9 @@ def tryqueryfromgithub():
def trygetupdate(): def trygetupdate():
if tuple(sys.version_info)[:2] == (3, 4):
bit = "xp"
if platform.architecture()[0] == "64bit": if platform.architecture()[0] == "64bit":
bit = "64" bit = "64"
elif platform.architecture()[0] == "32bit": elif platform.architecture()[0] == "32bit":