Browse Source

[F] Specify /usr/bin/env bash to prevent ld signature check on iOS

Hykilpikonna 2 years ago
parent
commit
b6f0a80bb1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hyfetch/neofetch_util.py

+ 1 - 1
hyfetch/neofetch_util.py

@@ -206,7 +206,7 @@ def run_command(args: str, pipe: bool = False) -> str | None:
     Run neofetch command
     """
     if platform.system() != 'Windows':
-        full_cmd = shlex.split(f'{get_command_path()} {args}')
+        full_cmd = shlex.split(f'/usr/bin/env bash {get_command_path()} {args}')
 
     else:
         cmd = get_command_path().replace("\\", "/").replace("C:/", "/c/")