added resolve prelaunch hook

This commit is contained in:
iLLiCiTiT 2020-11-30 10:06:56 +01:00
parent 6a4c768f21
commit cf00c0c577
2 changed files with 59 additions and 2 deletions

View file

@ -41,8 +41,7 @@ class CelactionPrelaunchHook(PreLaunchHook):
# TODO: change to root path and pyblish standalone to premiere way
pype_root_path = os.getenv("PYPE_SETUP_PATH")
path = os.path.join(pype_root_path,
"pype.bat")
path = os.path.join(pype_root_path, "pype.bat")
winreg.SetValueEx(hKey, "SubmitAppTitle", 0, winreg.REG_SZ, path)