mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
resolve: other platform compatibility
This commit is contained in:
parent
e5a36df660
commit
27bf66a6b4
1 changed files with 2 additions and 1 deletions
|
|
@ -3,6 +3,7 @@ import platform
|
|||
from openpype.lib import PreLaunchHook
|
||||
from openpype.hosts.resolve.utils import setup
|
||||
|
||||
|
||||
class ResolvePrelaunch(PreLaunchHook):
|
||||
"""
|
||||
This hook will check if current workfile path has Resolve
|
||||
|
|
@ -15,7 +16,7 @@ class ResolvePrelaunch(PreLaunchHook):
|
|||
def execute(self):
|
||||
current_platform = platform.system().lower()
|
||||
|
||||
PROGRAMDATA = self.launch_context.env["PROGRAMDATA"]
|
||||
PROGRAMDATA = self.launch_context.env.get("PROGRAMDATA", "")
|
||||
RESOLVE_SCRIPT_API_ = {
|
||||
"windows": (
|
||||
f"{PROGRAMDATA}/Blackmagic Design/"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue