diff --git a/pwsh/Microsoft.PowerShell_profile.ps1 b/pwsh/Microsoft.PowerShell_profile.ps1 index c487aa7..4e39a55 100644 --- a/pwsh/Microsoft.PowerShell_profile.ps1 +++ b/pwsh/Microsoft.PowerShell_profile.ps1 @@ -236,16 +236,18 @@ sudo "irm https://christitus.com/win | iex" # Discord Install/Reinstall with vencord function discord-ven-install { +winget uninstall Discord.Discord Remove-Item $HOME\AppData\Local\Discord Remove-Item $HOME\AppData\Roaming\discord winget install -e --id Discord.Discord -Invoke-WebRequest -Uri 'https://github.com/Vencord/Installer/releases/latest/download/VencordInstallerCli.exe' -OutFile$ +Invoke-WebRequest -Uri 'https://github.com/Vencord/Installer/releases/latest/download/VencordInstallerCli.exe' -OutFile VencordInstallerCli.exe ./VencordInstallerCli.exe Remove-Item VencordInstallerCli.exe } # Discord Install/Reinstall Vanilla function discord-install { +winget uninstall Discord.Discord Remove-Item $HOME\AppData\Local\Discord Remove-Item $HOME\AppData\Roaming\discord winget install -e --id Discord.Discord