mirror of
https://github.com/thewesker/lazy-dsi-file-downloader.git
synced 2025-12-19 20:11:10 -05:00
Add hiyaCFW updater
This commit is contained in:
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"python.pythonPath": "C:\\Program Files\\Python39\\python.exe"
|
||||
}
|
||||
BIN
certifi/__pycache__/__init__.cpython-39.pyc
Normal file
BIN
certifi/__pycache__/__init__.cpython-39.pyc
Normal file
Binary file not shown.
BIN
certifi/__pycache__/core.cpython-39.pyc
Normal file
BIN
certifi/__pycache__/core.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/__init__.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/__init__.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/big5freq.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/big5freq.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/big5prober.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/big5prober.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/chardistribution.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/chardistribution.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/charsetgroupprober.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/charsetgroupprober.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/charsetprober.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/charsetprober.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/codingstatemachine.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/codingstatemachine.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/compat.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/compat.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/cp949prober.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/cp949prober.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/enums.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/enums.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/escprober.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/escprober.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/escsm.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/escsm.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/eucjpprober.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/eucjpprober.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/euckrfreq.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/euckrfreq.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/euckrprober.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/euckrprober.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/euctwfreq.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/euctwfreq.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/euctwprober.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/euctwprober.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/gb2312freq.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/gb2312freq.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/gb2312prober.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/gb2312prober.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/hebrewprober.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/hebrewprober.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/jisfreq.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/jisfreq.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/jpcntx.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/jpcntx.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/langbulgarianmodel.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/langbulgarianmodel.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/langcyrillicmodel.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/langcyrillicmodel.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/langgreekmodel.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/langgreekmodel.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/langhebrewmodel.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/langhebrewmodel.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/langthaimodel.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/langthaimodel.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/langturkishmodel.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/langturkishmodel.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/latin1prober.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/latin1prober.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/mbcharsetprober.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/mbcharsetprober.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/mbcsgroupprober.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/mbcsgroupprober.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/mbcssm.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/mbcssm.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/sbcharsetprober.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/sbcharsetprober.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/sbcsgroupprober.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/sbcsgroupprober.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/sjisprober.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/sjisprober.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/universaldetector.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/universaldetector.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/utf8prober.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/utf8prober.cpython-39.pyc
Normal file
Binary file not shown.
BIN
chardet/__pycache__/version.cpython-39.pyc
Normal file
BIN
chardet/__pycache__/version.cpython-39.pyc
Normal file
Binary file not shown.
BIN
idna/__pycache__/__init__.cpython-39.pyc
Normal file
BIN
idna/__pycache__/__init__.cpython-39.pyc
Normal file
Binary file not shown.
BIN
idna/__pycache__/core.cpython-39.pyc
Normal file
BIN
idna/__pycache__/core.cpython-39.pyc
Normal file
Binary file not shown.
BIN
idna/__pycache__/idnadata.cpython-39.pyc
Normal file
BIN
idna/__pycache__/idnadata.cpython-39.pyc
Normal file
Binary file not shown.
BIN
idna/__pycache__/intranges.cpython-39.pyc
Normal file
BIN
idna/__pycache__/intranges.cpython-39.pyc
Normal file
Binary file not shown.
BIN
idna/__pycache__/package_data.cpython-39.pyc
Normal file
BIN
idna/__pycache__/package_data.cpython-39.pyc
Normal file
Binary file not shown.
26
main.py
26
main.py
@@ -249,8 +249,8 @@ def start():
|
||||
outputbox("Unlaunch Downloaded\n")
|
||||
lineCounter = lineCounter + 1
|
||||
|
||||
#Extract Unlaunch
|
||||
unzipper(unlaunchLocation,directory)
|
||||
#Extract Unlaunch
|
||||
unzipper(unlaunchLocation,directory)
|
||||
|
||||
|
||||
#Creates roms/nds if it does not exist
|
||||
@@ -275,6 +275,24 @@ def start():
|
||||
print("GodMode9i Extracted to", roms)
|
||||
break
|
||||
|
||||
if updateHiyaCFW.get() == 1:
|
||||
#Check if old hiyaCFW insallation exists
|
||||
outputbox("Checking for hiyaCFW\n")
|
||||
if os.path.isfile(directory+"/hiya.dsi"):
|
||||
outputbox("hiyaCFW found...\n")
|
||||
outputbox("Downloading latest...\n")
|
||||
downloadLocation = downloadFile(getLatestGitHub("RocketRobz/hiyaCFW",0),cwdtemp)
|
||||
if downloadLocation != None:
|
||||
outputbox("hiyaCFW.7z downloaded\n")
|
||||
os.remove(directory+"/hiya.dsi")
|
||||
proc = Popen([_7za,"x","-aoa",downloadLocation, "-o"+directory,"for SDNAND SD card\hiya.dsi"])
|
||||
ret_val = proc
|
||||
|
||||
|
||||
else:
|
||||
outputbox("hiya.dsi was not found\n")
|
||||
outputbox("Please run the hiyaCFW helper first")
|
||||
|
||||
|
||||
outputbox("Downloading other homebrew\n")
|
||||
lineCounter = lineCounter + 1
|
||||
@@ -474,7 +492,7 @@ def summonWindow2():
|
||||
seperator.grid(column=0,row=5,sticky="w")
|
||||
GodMode9iCheck = tkinter.Checkbutton(topFrame, text = "Download latest GodMode9i version?", variable =godmode9i, fg=foregroundColour,font=(buttonFont))
|
||||
GodMode9iCheck.grid(column=0,row=6,sticky="w")
|
||||
updateHiyaCheck = tkinter.Checkbutton(topFrame, text = "Update hiyaCFW? (must have run hiyaHelper once before)", variable =godmode9i, fg=foregroundColour,font=(buttonFont))
|
||||
updateHiyaCheck = tkinter.Checkbutton(topFrame, text = "Update hiyaCFW? (must have run hiyaHelper once before)", variable =updateHiyaCFW, fg=foregroundColour,font=(buttonFont))
|
||||
updateHiyaCheck.grid(column=0,row=7,sticky="w")
|
||||
buttonExtraHomebrew = tkinter.Button(topFrame, text = "Additional homebrew...", command =lambda:[extraHomebrew(window)], fg=foregroundColour,font=(buttonFont),bg=buttonColour)
|
||||
buttonExtraHomebrew.grid(column=0,row=8,sticky="w",pady=5)
|
||||
@@ -578,7 +596,7 @@ homebrewDB = json.loads(requests.get('https://raw.githubusercontent.com/YourKala
|
||||
homebrewList = []
|
||||
for x in homebrewDB:
|
||||
homebrewList.append(tkinter.IntVar())
|
||||
homebrewList[0] = tkinter.IntVar(value=1)
|
||||
|
||||
|
||||
#TKinter Vars
|
||||
downloadmemorypit = tkinter.IntVar(value=1)
|
||||
|
||||
BIN
requests/__pycache__/__init__.cpython-39.pyc
Normal file
BIN
requests/__pycache__/__init__.cpython-39.pyc
Normal file
Binary file not shown.
BIN
requests/__pycache__/__version__.cpython-39.pyc
Normal file
BIN
requests/__pycache__/__version__.cpython-39.pyc
Normal file
Binary file not shown.
BIN
requests/__pycache__/_internal_utils.cpython-39.pyc
Normal file
BIN
requests/__pycache__/_internal_utils.cpython-39.pyc
Normal file
Binary file not shown.
BIN
requests/__pycache__/adapters.cpython-39.pyc
Normal file
BIN
requests/__pycache__/adapters.cpython-39.pyc
Normal file
Binary file not shown.
BIN
requests/__pycache__/api.cpython-39.pyc
Normal file
BIN
requests/__pycache__/api.cpython-39.pyc
Normal file
Binary file not shown.
BIN
requests/__pycache__/auth.cpython-39.pyc
Normal file
BIN
requests/__pycache__/auth.cpython-39.pyc
Normal file
Binary file not shown.
BIN
requests/__pycache__/certs.cpython-39.pyc
Normal file
BIN
requests/__pycache__/certs.cpython-39.pyc
Normal file
Binary file not shown.
BIN
requests/__pycache__/compat.cpython-39.pyc
Normal file
BIN
requests/__pycache__/compat.cpython-39.pyc
Normal file
Binary file not shown.
BIN
requests/__pycache__/cookies.cpython-39.pyc
Normal file
BIN
requests/__pycache__/cookies.cpython-39.pyc
Normal file
Binary file not shown.
BIN
requests/__pycache__/exceptions.cpython-39.pyc
Normal file
BIN
requests/__pycache__/exceptions.cpython-39.pyc
Normal file
Binary file not shown.
BIN
requests/__pycache__/hooks.cpython-39.pyc
Normal file
BIN
requests/__pycache__/hooks.cpython-39.pyc
Normal file
Binary file not shown.
BIN
requests/__pycache__/models.cpython-39.pyc
Normal file
BIN
requests/__pycache__/models.cpython-39.pyc
Normal file
Binary file not shown.
BIN
requests/__pycache__/packages.cpython-39.pyc
Normal file
BIN
requests/__pycache__/packages.cpython-39.pyc
Normal file
Binary file not shown.
BIN
requests/__pycache__/sessions.cpython-39.pyc
Normal file
BIN
requests/__pycache__/sessions.cpython-39.pyc
Normal file
Binary file not shown.
BIN
requests/__pycache__/status_codes.cpython-39.pyc
Normal file
BIN
requests/__pycache__/status_codes.cpython-39.pyc
Normal file
Binary file not shown.
BIN
requests/__pycache__/structures.cpython-39.pyc
Normal file
BIN
requests/__pycache__/structures.cpython-39.pyc
Normal file
Binary file not shown.
BIN
requests/__pycache__/utils.cpython-39.pyc
Normal file
BIN
requests/__pycache__/utils.cpython-39.pyc
Normal file
Binary file not shown.
BIN
urllib3/__pycache__/__init__.cpython-39.pyc
Normal file
BIN
urllib3/__pycache__/__init__.cpython-39.pyc
Normal file
Binary file not shown.
BIN
urllib3/__pycache__/_collections.cpython-39.pyc
Normal file
BIN
urllib3/__pycache__/_collections.cpython-39.pyc
Normal file
Binary file not shown.
BIN
urllib3/__pycache__/connection.cpython-39.pyc
Normal file
BIN
urllib3/__pycache__/connection.cpython-39.pyc
Normal file
Binary file not shown.
BIN
urllib3/__pycache__/connectionpool.cpython-39.pyc
Normal file
BIN
urllib3/__pycache__/connectionpool.cpython-39.pyc
Normal file
Binary file not shown.
BIN
urllib3/__pycache__/exceptions.cpython-39.pyc
Normal file
BIN
urllib3/__pycache__/exceptions.cpython-39.pyc
Normal file
Binary file not shown.
BIN
urllib3/__pycache__/fields.cpython-39.pyc
Normal file
BIN
urllib3/__pycache__/fields.cpython-39.pyc
Normal file
Binary file not shown.
BIN
urllib3/__pycache__/filepost.cpython-39.pyc
Normal file
BIN
urllib3/__pycache__/filepost.cpython-39.pyc
Normal file
Binary file not shown.
BIN
urllib3/__pycache__/poolmanager.cpython-39.pyc
Normal file
BIN
urllib3/__pycache__/poolmanager.cpython-39.pyc
Normal file
Binary file not shown.
BIN
urllib3/__pycache__/request.cpython-39.pyc
Normal file
BIN
urllib3/__pycache__/request.cpython-39.pyc
Normal file
Binary file not shown.
BIN
urllib3/__pycache__/response.cpython-39.pyc
Normal file
BIN
urllib3/__pycache__/response.cpython-39.pyc
Normal file
Binary file not shown.
BIN
urllib3/contrib/__pycache__/__init__.cpython-39.pyc
Normal file
BIN
urllib3/contrib/__pycache__/__init__.cpython-39.pyc
Normal file
Binary file not shown.
BIN
urllib3/contrib/__pycache__/_appengine_environ.cpython-39.pyc
Normal file
BIN
urllib3/contrib/__pycache__/_appengine_environ.cpython-39.pyc
Normal file
Binary file not shown.
BIN
urllib3/contrib/__pycache__/pyopenssl.cpython-39.pyc
Normal file
BIN
urllib3/contrib/__pycache__/pyopenssl.cpython-39.pyc
Normal file
Binary file not shown.
BIN
urllib3/contrib/__pycache__/socks.cpython-39.pyc
Normal file
BIN
urllib3/contrib/__pycache__/socks.cpython-39.pyc
Normal file
Binary file not shown.
BIN
urllib3/packages/__pycache__/__init__.cpython-39.pyc
Normal file
BIN
urllib3/packages/__pycache__/__init__.cpython-39.pyc
Normal file
Binary file not shown.
BIN
urllib3/packages/__pycache__/six.cpython-39.pyc
Normal file
BIN
urllib3/packages/__pycache__/six.cpython-39.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
urllib3/util/__pycache__/__init__.cpython-39.pyc
Normal file
BIN
urllib3/util/__pycache__/__init__.cpython-39.pyc
Normal file
Binary file not shown.
BIN
urllib3/util/__pycache__/connection.cpython-39.pyc
Normal file
BIN
urllib3/util/__pycache__/connection.cpython-39.pyc
Normal file
Binary file not shown.
BIN
urllib3/util/__pycache__/queue.cpython-39.pyc
Normal file
BIN
urllib3/util/__pycache__/queue.cpython-39.pyc
Normal file
Binary file not shown.
BIN
urllib3/util/__pycache__/request.cpython-39.pyc
Normal file
BIN
urllib3/util/__pycache__/request.cpython-39.pyc
Normal file
Binary file not shown.
BIN
urllib3/util/__pycache__/response.cpython-39.pyc
Normal file
BIN
urllib3/util/__pycache__/response.cpython-39.pyc
Normal file
Binary file not shown.
BIN
urllib3/util/__pycache__/retry.cpython-39.pyc
Normal file
BIN
urllib3/util/__pycache__/retry.cpython-39.pyc
Normal file
Binary file not shown.
BIN
urllib3/util/__pycache__/ssl_.cpython-39.pyc
Normal file
BIN
urllib3/util/__pycache__/ssl_.cpython-39.pyc
Normal file
Binary file not shown.
BIN
urllib3/util/__pycache__/timeout.cpython-39.pyc
Normal file
BIN
urllib3/util/__pycache__/timeout.cpython-39.pyc
Normal file
Binary file not shown.
BIN
urllib3/util/__pycache__/url.cpython-39.pyc
Normal file
BIN
urllib3/util/__pycache__/url.cpython-39.pyc
Normal file
Binary file not shown.
BIN
urllib3/util/__pycache__/wait.cpython-39.pyc
Normal file
BIN
urllib3/util/__pycache__/wait.cpython-39.pyc
Normal file
Binary file not shown.
Reference in New Issue
Block a user