added discord reinstall function

This commit is contained in:
unknown 2024-05-11 00:07:23 -07:00
parent 20fbf57ec9
commit 8546e36166

View File

@ -235,9 +235,9 @@ sudo "irm https://christitus.com/win | iex"
} }
# Discord Install/Reinstall with vencord # Discord Install/Reinstall with vencord
function discord-ven install {
Remove-Item $HOME\AppData\Local\Discord Remove-Item $HOME\AppData\Local\Discord
Remove-Item $HOME\AppData\Roaming\discord Remove-Item $HOME\AppData\Roaming\discord
function "discord-ven install" {
winget install -e --id Discord.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
@ -245,7 +245,7 @@ Remove-Item VencordInstallerCli.exe
} }
# Discord Install/Reinstall Vanilla # Discord Install/Reinstall Vanilla
function "discord install" { function discord install {
Remove-Item $HOME\AppData\Local\Discord Remove-Item $HOME\AppData\Local\Discord
Remove-Item $HOME\AppData\Roaming\discord Remove-Item $HOME\AppData\Roaming\discord
winget install -e --id Discord.Discord winget install -e --id Discord.Discord