Skip to content

Commit

Permalink
Update setup_deep_live_cam.bat
Browse files Browse the repository at this point in the history
added option to detect if directory exist
  • Loading branch information
hacksider authored Aug 9, 2024
1 parent f48b1b4 commit f03f527
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions setup_deep_live_cam.bat
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,18 @@ echo Installing Visual Studio 2022 Runtimes...
winget install --id Microsoft.VC++2015-2022Redist-x64 -e --source winget

:: 2. Clone Repository
echo Cloning the repository...
git clone https://github.com/hacksider/Deep-Live-Cam.git
if exist Deep-Live-Cam (
echo Deep-Live-Cam directory already exists.
set /p overwrite="Do you want to overwrite? (Y/N): "
if /i "%overwrite%"=="Y" (
rmdir /s /q Deep-Live-Cam
git clone https://github.com/hacksider/Deep-Live-Cam.git
) else (
echo Skipping clone, using existing directory.
)
) else (
git clone https://github.com/hacksider/Deep-Live-Cam.git
)
cd Deep-Live-Cam

:: 3. Download Models
Expand Down

1 comment on commit f03f527

@manojnaikuae
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

Please sign in to comment.