rename 'openpype_startup.scriptlib' to 'ayon_startup.scriptlib'

This commit is contained in:
Jakub Trllo 2024-02-05 19:03:34 +01:00
parent ea1268f69d
commit 10ac850872
2 changed files with 4 additions and 4 deletions

View file

@ -5,9 +5,9 @@ function file_exists(name)
end
openpype_startup_script = os.getenv("OPENPYPE_RESOLVE_STARTUP_SCRIPT")
if openpype_startup_script ~= nil then
script = fusion:MapPath(openpype_startup_script)
ayon_startup_script = os.getenv("OPENPYPE_RESOLVE_STARTUP_SCRIPT")
if ayon_startup_script ~= nil then
script = fusion:MapPath(ayon_startup_script)
if file_exists(script) then
-- We must use RunScript to ensure it runs in a separate

View file

@ -55,7 +55,7 @@ def setup(env):
dst = os.path.join(util_scripts_dir, script)
# TODO: Make this a less hacky workaround
if script == "openpype_startup.scriptlib":
if script == "ayon_startup.scriptlib":
# Handle special case for scriptlib that needs to be a folder
# up from the Comp folder in the Fusion scripts
dst = os.path.join(os.path.dirname(util_scripts_dir),