@echo off
chcp 65001 >nul
set "DEST=%LOCALAPPDATA%\ScreenSVP"
mkdir "%DEST%" 2>nul
copy /Y "%~dp0screensvp-desktop.exe" "%DEST%\screensvp-desktop.exe" >nul
if exist "%~dp0server.url" copy /Y "%~dp0server.url" "%DEST%\server.url" >nul
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0install-shortcuts.ps1"
start "" "%DEST%\screensvp-desktop.exe"
echo ScreenSVP встановлено у %DEST%
