using relative paths

This commit is contained in:
Nathan
2025-08-15 12:34:52 -06:00
parent 51ce499390
commit 8cecc49f0f

View File

@@ -42,8 +42,8 @@ mkdir "%projectRoot%\Reference\VO clips"
if not exist "%projectRoot%\Renders" mkdir "%projectRoot%\Renders"
:: Place helper scripts into Renders
if exist "%CD%\NewDaily.bat" copy /Y "%CD%\NewDaily.bat" "%projectRoot%\Renders\NewDaily.bat" >nul
if exist "%CD%\UpdateSequences.bat" copy /Y "%CD%\UpdateSequences.bat" "%projectRoot%\Renders\UpdateSequences.bat" >nul
if exist "A:\1 Amazon_Active_Projects\3 ProjectStructure\NewDaily.bat" copy /Y "A:\1 Amazon_Active_Projects\3 ProjectStructure\NewDaily.bat" "%projectRoot%\Renders\NewDaily.bat" >nul
if exist "A:\1 Amazon_Active_Projects\3 ProjectStructure\UpdateSequences.bat" copy /Y "A:\1 Amazon_Active_Projects\3 ProjectStructure\UpdateSequences.bat" "%projectRoot%\Renders\UpdateSequences.bat" >nul
:: Create Translations Google Drive shortcut
echo [InternetShortcut] > "%projectRoot%\Reference\Translation Scripts\Translations Google Drive.url"
@@ -53,8 +53,8 @@ echo URL=https://drive.google.com/drive/folders/1lND5207vl-qf5RbTQ2eejeXJCc4r5rU
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()"
:: 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
if exist "A:\1 Amazon_Active_Projects\3 ProjectStructure\components\gitignore" copy /Y "A:\1 Amazon_Active_Projects\3 ProjectStructure\components\gitignore" "%projectRoot%\.gitignore" >nul
if exist "A:\1 Amazon_Active_Projects\3 ProjectStructure\components\gitattributes" copy /Y "A:\1 Amazon_Active_Projects\3 ProjectStructure\components\gitattributes" "%projectRoot%\.gitattributes" >nul
:: Initialize git and install Git LFS
pushd "%projectRoot%" >nul