17 lines
496 B
Batchfile
17 lines
496 B
Batchfile
@echo off
|
|
:: JingTian LLM Setup
|
|
:: Double-click this file to set up automatic file syncing.
|
|
:: Requires administrator privileges (will prompt for elevation).
|
|
|
|
:: Check for admin privileges
|
|
net session >nul 2>&1
|
|
if %errorlevel% neq 0 (
|
|
echo Requesting administrator privileges...
|
|
powershell -Command "Start-Process -Verb RunAs -FilePath '%~f0'"
|
|
exit /b
|
|
)
|
|
|
|
:: Run the setup script
|
|
powershell -ExecutionPolicy Bypass -File "%~dp0Code\Sync\Win-Setup.ps1" -SyncRoot "%~dp0Code\Sync"
|
|
pause
|