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

This commit is contained in:
Hykilpikonna 2022-10-30 13:21:21 -04:00
parent a758b4ba04
commit b6f0a80bb1
No known key found for this signature in database
GPG key ID: 256CD01A41D7FA26

View file

@ -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/")