blob: 327f37ef949ba840c87bd842fbacf3301a36d32f (
plain)
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
|
@REM SPDX-FileCopyrightText: 2026 Dilluti0n <[email protected]>
@REM SPDX-License-Identifier: GPL-3.0-or-later
@echo Please run this script with administrator privileges.
@echo Right click, select "Run as administrator".
@echo.
@echo Press any key if you are running this as administrator.
@pause
@set "ARGS=-D --fake-ttl 8 --fake-autottl"
@set "EXE=%~dp0dpibreak.exe"
@set "SERVNAME=dpibreak"
sc stop %SERVNAME%
sc delete %SERVNAME%
sc create %SERVNAME% binPath= "\"%EXE%\" %ARGS%" start= auto
sc description %SERVNAME% "Simple and efficient DPI circumvention tool in Rust."
sc start %SERVNAME%
@if %ERRORLEVEL% equ 0 (
@echo.
@echo Installation complete. %SERVNAME% is running and will start automatically on boot.
@echo To stop and uninstall the service, run service_remove.bat.
) else (
@echo.
@echo Installation failed. Make sure to run this script as administrator.
)
@pause
|