14 lines
427 B
Batchfile
Executable File
14 lines
427 B
Batchfile
Executable File
@echo off
|
|
rem Installs NetDesk as a boot-time service (SYSTEM).
|
|
rem REQUIRES: run once from an elevated (Run as administrator) prompt.
|
|
setlocal
|
|
cd /d "%~dp0.."
|
|
set PY=%~dp0..\.venv\Scripts\python.exe
|
|
if not exist "%PY%" set PY=python
|
|
|
|
"%PY%" host\netdesk_host.py --install %*
|
|
echo.
|
|
echo If this failed with an elevation error, right-click this file and
|
|
echo choose "Run as administrator", then run it again.
|
|
pause
|