Ensure homebrew is in the path if it exists
This commit is contained in:
parent
46d3e99d48
commit
9ba8b2876c
@ -160,6 +160,8 @@ class ComicTaggerSettings:
|
||||
elif os.path.exists(r"C:\Program Files (x86)\WinRAR\Rar.exe"):
|
||||
self.rar_exe_path = r"C:\Program Files (x86)\WinRAR\Rar.exe"
|
||||
else:
|
||||
if os.path.exists("/opt/homebrew/bin"):
|
||||
utils.add_to_path("/opt/homebrew/bin")
|
||||
# see if it's in the path of unix user
|
||||
rarpath = utils.which("rar")
|
||||
if rarpath is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user