tauri/cli/tauri.js/scripts/is-admin.ps1
2020-07-15 20:05:07 -03:00

2 lines
98 B
PowerShell

[bool](([System.Security.Principal.WindowsIdentity]::GetCurrent()).groups -match "S-1-5-32-544");