[F] Add even more paths #84
This commit is contained in:
parent
089f669e6a
commit
6f0e659d90
1 changed files with 3 additions and 0 deletions
|
@ -157,8 +157,11 @@ def get_command_path() -> str:
|
|||
|
||||
# Windows doesn't support symbolic links, but also I can't detect symbolic links... hard-code it here for now.
|
||||
if platform.system() == 'Windows':
|
||||
pkg = Path(__file__).parent
|
||||
pth = (shutil.which("neowofetch") or
|
||||
if_file(cmd_path) or
|
||||
if_file(pkg / 'scripts/neowofetch') or
|
||||
if_file(pkg.parent / 'neofetch') or
|
||||
if_file(Path(cmd_path).parent.parent.parent / 'neofetch'))
|
||||
|
||||
if not pth:
|
||||
|
|
Loading…
Reference in a new issue