-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.bat
More file actions
35 lines (31 loc) · 864 Bytes
/
Copy pathsetup.bat
File metadata and controls
35 lines (31 loc) · 864 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@echo off
cd /d "%~dp0"
title Disk Sanitization Assistant - First Setup
echo.
echo ============================================
echo Disk Sanitization Assistant - Setup
echo ============================================
echo.
REM Check Python
python --version >nul 2>&1
if errorlevel 1 (
echo [ERROR] Python not found.
echo Please install Python 3.12 or newer.
pause
exit /b 1
)
REM Create venv if it does not exist
if not exist ".venv\" (
echo Creating virtual environment...
python -m venv .venv
)
REM Activate and install
echo Installing dependencies, please wait...
call .venv\Scripts\activate.bat
python -m pip install --upgrade pip
pip install -r requirements.txt
echo.
echo ============================================
echo Setup complete! Run run.bat to start.
echo ============================================
pause