From 8cecc49f0fb3b0351eb90136123c14637ee3cc72 Mon Sep 17 00:00:00 2001 From: Nathan Date: Fri, 15 Aug 2025 12:34:52 -0600 Subject: [PATCH] using relative paths --- NewProject.bat | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/NewProject.bat b/NewProject.bat index c3c83c0..f00fc23 100644 --- a/NewProject.bat +++ b/NewProject.bat @@ -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