Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
- Fixed the launcher command so filenames with spaces will work
  • Loading branch information
mrhaydendp committed Jun 6, 2024
1 parent 14e699c commit 2939aa8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Fire-Tools/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,10 @@ def set_launcher():
elif customlauncher.get() != "Select Launcher":
for app in glob.iglob(f"{os.getcwd()}/{customlauncher.get()}*.apk"):
launcher = app
subprocess.run(f"{path}appinstaller{extension} {launcher} Launcher".split())
cmdlist = f"{path}appinstaller{extension}".split()
cmdlist.append(launcher)
cmdlist.append("Launcher")
subprocess.run(cmdlist)

# Extract Selected Package to Extracted/{package} If not Already Present
def extract(package):
Expand Down

0 comments on commit 2939aa8

Please sign in to comment.