From d5a3ed641b6b80032a47e5cf3fdaab56d6023bc4 Mon Sep 17 00:00:00 2001 From: dmunozv04 <39565245+dmunozv04@users.noreply.github.com> Date: Mon, 11 Apr 2022 21:48:38 +0200 Subject: [PATCH] Cahnge binary path --- iSponsorBlockTV/macos_install.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iSponsorBlockTV/macos_install.py b/iSponsorBlockTV/macos_install.py index 476c090..7867568 100644 --- a/iSponsorBlockTV/macos_install.py +++ b/iSponsorBlockTV/macos_install.py @@ -13,7 +13,7 @@ default_plist = {"Label": "com.dmunozv04iSponsorBlockTV", } def create_plist(path): plist = default_plist - plist["ProgramArguments"] = [path + "/iSponsorBlockTV"] + plist["ProgramArguments"] = [path + "/iSponsorBlockTV-macos"] plist["StandardErrorPath"] = path + "/iSponsorBlockTV.error.log" plist["StandardOutPath"] = path + "/iSponsorBlockTV.out.log" plist["WorkingDirectory"] = path @@ -29,7 +29,7 @@ def run_setup(file): def main(): correct_path = os.path.expanduser("~/iSponsorBlockTV") - if os.path.isfile(correct_path + "/iSponsorBlockTV"): + if os.path.isfile(correct_path + "/iSponsorBlockTV-macos"): print("Program is on the right path") print("The launch daemon will now be installed") create_plist(correct_path)