mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
use 'AYON_RESOLVE_STARTUP_SCRIPT' instead of 'OPENPYPE_RESOLVE_STARTUP_SCRIPT'
This commit is contained in:
parent
a414fc53f6
commit
a263fe214d
2 changed files with 3 additions and 3 deletions
|
|
@ -17,9 +17,9 @@ class PreLaunchResolveStartup(PreLaunchHook):
|
|||
# in the LUA .scriptlib code
|
||||
op_resolve_root = os.path.dirname(ayon_core.hosts.resolve.__file__)
|
||||
script_path = os.path.join(op_resolve_root, "startup.py")
|
||||
key = "OPENPYPE_RESOLVE_STARTUP_SCRIPT"
|
||||
key = "AYON_RESOLVE_STARTUP_SCRIPT"
|
||||
self.launch_context.env[key] = script_path
|
||||
|
||||
self.log.info(
|
||||
f"Setting OPENPYPE_RESOLVE_STARTUP_SCRIPT to: {script_path}"
|
||||
f"Setting AYON_RESOLVE_STARTUP_SCRIPT to: {script_path}"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ function file_exists(name)
|
|||
end
|
||||
|
||||
|
||||
ayon_startup_script = os.getenv("OPENPYPE_RESOLVE_STARTUP_SCRIPT")
|
||||
ayon_startup_script = os.getenv("AYON_RESOLVE_STARTUP_SCRIPT")
|
||||
if ayon_startup_script ~= nil then
|
||||
script = fusion:MapPath(ayon_startup_script)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue