Allowing you to manage all of your discord versions. This was made as I was impatient to waiting for AUR maintainers (no offense 😂 we have lives) to update discord packages. This solves that problem: since you can update your version by just doing dvm update <type>
. This utility is heavily inspired by the rustup
command line tool
dvm 1.1.4
USAGE:
dvm <SUBCOMMAND>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
SUBCOMMANDS:
completions get shell completions
help Prints this message or the help of the given subcommand(s)
install install the latest <type> of discord
remove remove the installed <type> of discord
run run discord with specific options
show show all installed versions
update update to the latest <type> of discord
To install a specific version just type in
dvm install stable
This will do the following:
- Download the latest stable tarball from discord
- Extract it into $HOME/.dvm
- Create a bin file that executes the executable
- Copy desktop and icons to respectful folders
You can install multiple versions at once, they will be executed one after the other.
dvm install stable ptb canary development
Removing installations is as easy as installing them
dvm remove stable
This will do the following:
- Remove the $HOME/.dvm/
- Remove desktop entries and icons
- Remove the bin file
Updating installations is as easy as installing them
dvm update stable
This will do the following:
- Check if discord actually needs to be updated
- Download the latest tarball
- Remove the $HOME/.dvm/
- Do everything the installation does.