bdlauncher.ps1 [{-Install|-Repair|-Uninject|-Status}] [-Release {stable|ptb|canary}] [-DiscordPath <path>] [-skipDownload] [-LaunchDiscord]
Pass this to download and inject BetterDiscord
Same as -Install
but also disables plugins and themes before re-injecting to Discord.
Self-explanatory
Returns installation status for selected release.
Note: The previous 4 options cannot be combined, use only one of them when running the script.
Use this to select your Discord release.
Expected values are stable
, ptb
and canary
The script will default to stable
if this is omitted
Use this to specify the path to a Discord installation. This is only needed if you're not using the default install directories. Must be combined with -Release
to work.
Skips downloading betterdiscord.asar
if one already exists.
Launches the appropriate Discord release after the command completes.
- Create a Shortcut with the target being
"C:\Program Files\PowerShell\7\pwsh.exe" \path\to\bdlauncher.ps1
and your desired arguments.
- Note that Windows includes legacy versions of PowerShell that this script will fail to run in. The
powershell
command points to version 1 at the time of writing.Older versions of Windows may have Version 6 instead of 7, so change the number in the target depending on what's present in the folder.
- Add
-LaunchDiscord
as an argument for it to always launch Discord. - Add to Start Menu or your desktop for your convenience.