mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-28 08:04:13 +08:00
link
This commit is contained in:
parent
dbeaefbee3
commit
2cff474cc2
@ -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":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user