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

launcher TVPaint 11 #88

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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