Skip to content

Commit

Permalink
Added a "dir" command to open a specific directory in the explorer. (#37
Browse files Browse the repository at this point in the history
)
  • Loading branch information
noahzeisberg committed May 22, 2023
1 parent cb653a7 commit 1bc25c7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from pytube import YouTube

init(convert=True)
CURRENT_FYUTILS_VERSION = "1.10.1"
CURRENT_FYUTILS_VERSION = "1.10.2"
SUPPORTED_FUEL_VERSION = 1


Expand Down Expand Up @@ -781,6 +781,13 @@ def menu():
update_status("Opening logs...")
highlight_file(main_dir + "crash.log")

case "dir":
if len(args) < 1:
execute("explorer.exe " + os.getcwd())
continue
path = args[0]
execute("explorer.exe " + path)

case "config" | "configuration" | "settings" | "preferences":
if len(args) < 1:
update_status("Editing preferences...")
Expand Down

0 comments on commit 1bc25c7

Please sign in to comment.