From b6f0a80bb12de95a3571a6c8855b53fa7565bd85 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Sun, 30 Oct 2022 13:21:21 -0400 Subject: [PATCH] [F] Specify /usr/bin/env bash to prevent ld signature check on iOS --- hyfetch/neofetch_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyfetch/neofetch_util.py b/hyfetch/neofetch_util.py index 67e1ca18..d324c6d4 100644 --- a/hyfetch/neofetch_util.py +++ b/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/")