Skip to content

Commit

Permalink
Update install.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
Vendicated authored Jul 6, 2023
1 parent 6ca40a1 commit d0521cd
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions install.ps1
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
$DOWNLOAD_CLI = "https://github.com/Vencord/Installer/releases/latest/download/VencordInstallerCli.exe"
$DOWNLOAD_GUI = "https://github.com/Vencord/Installer/releases/latest/download/VencordInstaller.exe"

# I stole this from somewhere idk how it works
$isAdmin = [bool]([Security.Principal.WindowsIdentity]::GetCurrent().Groups -match 'S-1-5-32-544')

if ($isAdmin) {
Write-Output "Do not run me as Administrator! Exiting..."
Return
}

if ([Environment]::Is64BitOperatingSystem -and [System.Environment]::OSVersion.Version.Major -ge 10) {
Write-Output "=============================="
Write-Output "| Vencord Installer |"
Expand Down

0 comments on commit d0521cd

Please sign in to comment.