First commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
@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
|
||||
Reference in New Issue
Block a user