mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 16:53:00 +00:00
feat(glazewm): Change Windows TWM to GlazeWM
This commit is contained in:
parent
4657765e21
commit
22ca99086c
16 changed files with 999 additions and 253 deletions
20
bootstrap/win/Defender.ps1
Normal file
20
bootstrap/win/Defender.ps1
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Run as Administrator
|
||||
|
||||
Set-MpPreference -EnableControlledFolderAccess 1
|
||||
|
||||
$protected = (Get-MpPreference).ControlledFolderAccessProtectedFolders
|
||||
$protected += "$env:USERPROFILE\.ssh"
|
||||
$protected += "$env:USERPROFILE\.config"
|
||||
Set-MpPreference -ControlledFolderAccessProtectedFolders $protected
|
||||
|
||||
$apps = (Get-MpPreference).ControlledFolderAccessAllowedApplications
|
||||
$apps += "$Env:Windir\System32\OpenSSH\ssh.exe"
|
||||
$apps += "$Env:ProgramFiles\GPSoftware\Directory Opus\DOpus.exe"
|
||||
$apps += "$Env:UserProfile\scoop\apps\pwsh\current\pwsh.exe"
|
||||
Set-MpPreference -ControlledFolderAccessAllowedApplications $apps
|
||||
|
||||
$exclusion = (Get-MpPreference).ExclusionPath
|
||||
$exclusion += "$env:ProgramFiles\JetBrains"
|
||||
$exclusion += "$env:LocalAppData\JetBrains"
|
||||
$exclusion += "D:\Source"
|
||||
Set-MpPreference -ExclusionPath $exclusion
|
||||
Loading…
Add table
Add a link
Reference in a new issue