celation executable fix

This commit is contained in:
Jakub Jezek 2022-11-24 15:09:34 +01:00
parent 54bb955d8b
commit 00bbd4ebe1
No known key found for this signature in database
GPG key ID: 730D7C02726179A7

View file

@ -36,13 +36,14 @@ class CelactionPrelaunchHook(PreLaunchHook):
path_to_cli = os.path.join(CELACTION_API_DIR, "cli.py") path_to_cli = os.path.join(CELACTION_API_DIR, "cli.py")
subproces_args = get_openpype_execute_args("run", path_to_cli) subproces_args = get_openpype_execute_args("run", path_to_cli)
openpype_executables = subproces_args.pop(0)
winreg.SetValueEx( winreg.SetValueEx(
hKey, hKey,
"SubmitAppTitle", "SubmitAppTitle",
0, 0,
winreg.REG_SZ, winreg.REG_SZ,
subproces_args.pop(0) openpype_executables
) )
parameters = subproces_args + [ parameters = subproces_args + [