Bases: AYONAddon, IHostAddon
  Source code in client/ayon_harmony/addon.py
 |  9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30 | class HarmonyAddon(AYONAddon, IHostAddon):
    name = "harmony"
    version = __version__
    host_name = "harmony"
    def add_implementation_envs(self, env, _app):
        """Modify environments to contain all required for implementation."""
        openharmony_path = os.path.join(
            HARMONY_ADDON_ROOT, "vendor", "OpenHarmony"
        )
        # TODO check if is already set? What to do if is already set?
        env["LIB_OPENHARMONY_PATH"] = openharmony_path
    def get_workfile_extensions(self):
        return [".zip"]
    def get_launch_hook_paths(self, app):
        if app.host_name != self.host_name:
            return []
        return [
            os.path.join(HARMONY_ADDON_ROOT, "hooks")
        ]
 | 
     add_implementation_envs(env, _app) 
  Modify environments to contain all required for implementation.
  Source code in client/ayon_harmony/addon.py
 |  | def add_implementation_envs(self, env, _app):
    """Modify environments to contain all required for implementation."""
    openharmony_path = os.path.join(
        HARMONY_ADDON_ROOT, "vendor", "OpenHarmony"
    )
    # TODO check if is already set? What to do if is already set?
    env["LIB_OPENHARMONY_PATH"] = openharmony_path
 |