mirror of
https://github.com/thewesker/lazy-dsi-file-downloader.git
synced 2025-12-20 04:21:09 -05:00
Fix hiya updater
This commit is contained in:
4
main.py
4
main.py
@@ -157,6 +157,8 @@ def start():
|
||||
|
||||
#Variables
|
||||
directory = SDentry
|
||||
if directory.endswith("\\") or directory.endswith("/"):
|
||||
directory = directory[:-1]
|
||||
version = firmwareVersion.get()
|
||||
unlaunchNeeded = unlaunch.get()
|
||||
|
||||
@@ -287,6 +289,8 @@ def start():
|
||||
os.remove(directory+"/hiya.dsi")
|
||||
proc = Popen([_7za,"x","-aoa",downloadLocation, "-o"+directory,"for SDNAND SD card\hiya.dsi"])
|
||||
ret_val = proc
|
||||
shutil.move(directory+"/for SDNAND SD card/hiya.dsi",directory+"/hiya.dsi")
|
||||
shutil.rmtree(directory+"/for SDNAND SD card/")
|
||||
|
||||
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user