mirror of
https://github.com/BreizhHardware/SpotifyAddBlock.git
synced 2026-01-18 16:27:25 +01:00
Init
This commit is contained in:
8
Windows/install.bat
Executable file
8
Windows/install.bat
Executable file
@@ -0,0 +1,8 @@
|
||||
@echo off
|
||||
cd /d %~dp0
|
||||
if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit /b)
|
||||
md C:\SpotifyAddBlock
|
||||
xcopy /v C:\Windows\System32\drivers\etc\hosts C:\SpotifyAddBlock\hosts_original
|
||||
type hosts.txt>C:\Windows\System32\drivers\etc\hosts
|
||||
echo Service installed
|
||||
pause
|
||||
Reference in New Issue
Block a user