changed current filtering from hosts to app groups

This commit is contained in:
iLLiCiTiT 2020-11-30 10:40:21 +01:00
parent f8868d04bc
commit 19e5ab8b1a
12 changed files with 12 additions and 12 deletions

View file

@ -9,7 +9,7 @@ class AfterEffectsPrelaunchHook(PreLaunchHook):
Hook add python executable and execute python script of AfterEffects
implementation before AfterEffects executable.
"""
hosts = ["aftereffects"]
app_groups = ["aftereffects"]
def execute(self):
# Pop tvpaint executable

View file

@ -13,7 +13,7 @@ class CelactionPrelaunchHook(PreLaunchHook):
shell script.
"""
workfile_ext = "scn"
hosts = ["celaction"]
app_groups = ["celaction"]
platforms = ["windows"]
def execute(self):

View file

@ -9,7 +9,7 @@ class FusionPrelaunch(PreLaunchHook):
This hook will check if current workfile path has Fusion
project inside.
"""
hosts = ["fusion"]
app_groups = ["fusion"]
def execute(self):
# making sure pyton 3.6 is installed at provided path

View file

@ -9,7 +9,7 @@ class HarmonyPrelaunchHook(PreLaunchHook):
Hook add python executable and execute python script of harmony
implementation before harmony executable.
"""
hosts = ["harmony"]
app_groups = ["harmony"]
def execute(self):
# Pop tvpaint executable

View file

@ -4,7 +4,7 @@ from pype.lib import PreLaunchHook
class HieroLaunchArguments(PreLaunchHook):
order = 0
hosts = ["hiero"]
app_groups = ["hiero"]
def execute(self):
"""Prepare suprocess launch arguments for Hiero."""

View file

@ -5,7 +5,7 @@ from pype.lib import PreLaunchHook
class MayaLaunchArguments(PreLaunchHook):
"""Add path to last workfile to launch arguments."""
order = 0
hosts = ["maya"]
app_groups = ["maya"]
def execute(self):
"""Prepare suprocess launch arguments for Maya."""

View file

@ -4,7 +4,7 @@ from pype.lib import PreLaunchHook
class NukeStudioLaunchArguments(PreLaunchHook):
order = 0
hosts = ["nukestudio"]
app_groups = ["nukestudio"]
def execute(self):
"""Prepare suprocess launch arguments for NukeStudio."""

View file

@ -4,7 +4,7 @@ from pype.lib import PreLaunchHook
class NukeXLaunchArguments(PreLaunchHook):
order = 0
hosts = ["nukex"]
app_groups = ["nukex"]
def execute(self):
"""Prepare suprocess launch arguments for NukeX."""

View file

@ -9,7 +9,7 @@ class PhotoshopPrelaunchHook(PreLaunchHook):
Hook add python executable and execute python script of photoshop
implementation before photoshop executable.
"""
hosts = ["photoshop"]
app_groups = ["photoshop"]
def execute(self):
# Pop tvpaint executable

View file

@ -11,7 +11,7 @@ class ResolvePrelaunch(PreLaunchHook):
path to the project by environment variable to Premiere launcher
shell script.
"""
hosts = ["resolve"]
app_groups = ["resolve"]
def execute(self):
# making sure pyton 3.6 is installed at provided path

View file

@ -9,7 +9,7 @@ class PreInstallPyWin(PreLaunchHook):
"""Hook makes sure there is installed python module pywin32 on windows."""
# WARNING This hook will probably be deprecated in Pype 3 - kept for test
order = 10
hosts = ["tvpaint"]
app_groups = ["tvpaint"]
platforms = ["windows"]
def execute(self):

View file

@ -16,7 +16,7 @@ class TvpaintPrelaunchHook(PreLaunchHook):
Existence of last workfile is checked. If workfile does not exists tries
to copy templated workfile from predefined path.
"""
hosts = ["tvpaint"]
app_groups = ["tvpaint"]
def execute(self):
# Pop tvpaint executable