This repository has been archived by the owner on Sep 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #88 from pypeclub/feature/629-launch-tvpaint-shot-…
…work-file-from-within-ftrack launcher TVPaint 11
- Loading branch information
Showing
4 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters