Skip to content

Instantly share code, notes, and snippets.

@VIRUXE
Last active July 9, 2024 19:20
Show Gist options
  • Save VIRUXE/78c581d656647abc095a0799630d1070 to your computer and use it in GitHub Desktop.
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
@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