Adapt NewProject
This commit is contained in:
@@ -42,6 +42,9 @@ mkdir "%projectRoot%\Pr\RnR\RIFE"
|
||||
mkdir "%projectRoot%\Reference\Translation Scripts"
|
||||
mkdir "%projectRoot%\Reference\VO clips"
|
||||
|
||||
:: Add project root additions
|
||||
if not exist "%projectRoot%\Renders" mkdir "%projectRoot%\Renders"
|
||||
|
||||
:: Create Translations Google Drive shortcut
|
||||
echo [InternetShortcut] > "%projectRoot%\Reference\Translation Scripts\Translations Google Drive.url"
|
||||
echo URL=https://drive.google.com/drive/folders/1lND5207vl-qf5RbTQ2eejeXJCc4r5rUo >> "%projectRoot%\Reference\Translation Scripts\Translations Google Drive.url"
|
||||
@@ -49,12 +52,15 @@ echo URL=https://drive.google.com/drive/folders/1lND5207vl-qf5RbTQ2eejeXJCc4r5rU
|
||||
:: Create Amazon folder shortcut
|
||||
powershell -Command "$folder='%projectRoot%\Deliverable'; $WS = New-Object -ComObject WScript.Shell; $SC = $WS.CreateShortcut([System.IO.Path]::Combine($folder, 'Amazon - for Elizabeth.lnk')); $SC.TargetPath = 'D:\Amazon - for Elizabeth'; $SC.WorkingDirectory = 'D:\Amazon - for Elizabeth'; $SC.IconLocation = 'shell32.dll,3'; $SC.Save()"
|
||||
|
||||
:: Copy NewDaily.bat to the right folders
|
||||
copy "NewDaily.bat" "%projectRoot%\Blends\animations\NewDaily.bat"
|
||||
copy "NewDaily.bat" "%projectRoot%\Blends\stills\NewDaily.bat"
|
||||
copy "NewDaily.bat" "%projectRoot%\Deliverable\NewDaily.bat"
|
||||
copy "NewDaily.bat" "%projectRoot%\Assets\ElevenLabs\NewDaily.bat"
|
||||
copy "NewDaily.bat" "%projectRoot%\Assets\VO\NewDaily.bat"
|
||||
:: Use repo-provided templates for git config files
|
||||
if exist "%CD%\components\gitignore" copy /Y "%CD%\components\gitignore" "%projectRoot%\.gitignore" >nul
|
||||
if exist "%CD%\components\gitattributes" copy /Y "%CD%\components\gitattributes" "%projectRoot%\.gitattributes" >nul
|
||||
|
||||
:: Initialize git and install Git LFS
|
||||
pushd "%projectRoot%" >nul
|
||||
git init
|
||||
git lfs install
|
||||
popd >nul
|
||||
|
||||
echo Project structure created successfully in folder: %projectRoot%
|
||||
pause
|
||||
|
||||
Reference in New Issue
Block a user