Skip to content
This repository has been archived by the owner on Sep 22, 2021. It is now read-only.

Commit

Permalink
Merge pull request #88 from pypeclub/feature/629-launch-tvpaint-shot-…
Browse files Browse the repository at this point in the history
…work-file-from-within-ftrack

launcher TVPaint 11
  • Loading branch information
mkolar authored Oct 12, 2020
2 parents 561fdab + 8232b11 commit acfda3e
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
2 changes: 2 additions & 0 deletions environments/tvpaint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
9 changes: 9 additions & 0 deletions launchers/tvpaint11.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
executable = "tvpaint11"
schema = "avalon-core:application-1.0"
application_dir = "tvpaint"
label = "TVPaint Animation 11"
icon = "app_icons/tvpaint.png"
launch_hook = "pype/hooks/tvpaint/prelaunch.py/TvpaintPrelaunchHook"

ftrack_label = "TVPaint Animation"
ftrack_icon = '{}/app_icons/tvpaint.png'
19 changes: 19 additions & 0 deletions launchers/windows/tvpaint11.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
set __app__="TVPaint Animation 11"
set __app_dir__="C:\Program Files\TVPaint Developpement\TVPaint Animation 11 (64bits)\"
set __exe__="C:\Program Files\TVPaint Developpement\TVPaint Animation 11 (64bits)\TVPaint Animation 11 (64bits).exe"

if not exist %__exe__% goto :missing_app

pushd %__app_dir__%

if "%PYPE_TVPAINT_PROJECT_FILE%"=="" (
start %__app__% %__exe__% %*
) else (
start %__app__% %__exe__% "%PYPE_TVPAINT_PROJECT_FILE%" %*
)

goto :eof

:missing_app
echo ERROR: %__app__% not found in %__exe__%
exit /B 1
1 change: 1 addition & 0 deletions presets/global/applications.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"blender_2.83": true,
"celaction_local": true,
"celaction_remote": true,
"tvpaint11": true,
"fusion_9": true,
"fusion_16": true,
"harmony_17": true,
Expand Down

0 comments on commit acfda3e

Please sign in to comment.