Last active
July 9, 2024 19:20
-
-
Save VIRUXE/78c581d656647abc095a0799630d1070 to your computer and use it in GitHub Desktop.
Downloads the ASI file for SAMPCAC and adds an exclusion for it on Windows Defender
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
SET "FILE_NAME=sampcac_client.asi" | |
echo Adding Exclusion to Windows Defender | |
powershell -Command "Add-MpPreference -ExclusionPath '%CD%\%FILE_NAME%'" | |
echo Downloading SAMPCAC ASI... | |
powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://gta.flaviopereira.dev/sa/samp/asi/sampcac_client.asi', '%FILE_NAME%')" | |
echo Done. | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment