diff --git a/README.md b/README.md index ef125e1..8522e51 100644 --- a/README.md +++ b/README.md @@ -1,26 +1,25 @@ -# RPM Package for Discord -I love Discord. But sadly, the devs don't provide any RPM package... Therefore I've made one! -To be precise, I've made a script that downloads the latest [discord's canary linux build](https://github.com/crmarsh/discord-linux-bugs) and creates a RPM package with it. +# Discord rpm +![discord logo](discord-logo-wordmark.png) + +Unofficial RPM package for Discord. ## How to use -Run the [create-package.sh](https://github.com/RPM-Outpost/discord/blob/master/create-package.sh) script from the command line. -It will download the latest version of discord and build an RPM package. -Then, install the package with `sudo dnf install `. +Open a terminal and run `./create-package.sh stable` to get the stable version of Discord. Replace `stable` by `canary` to get the beta version. + +## Features +- Downloads the latest version of Discord from the official website +- Creates a ready-to-use RPM package +- Discord stable and canary can be installed at the same time +- Adds Discord to the applications' list with a nice HD icon +- Tested on Fedora 26 (may work on other distributions) + +## More informations + +### How to update +When a new version of discord is released, simply run the script again to get the updated version. ### Requirements -You need to install the `rpmdevtools` package to build RPM packages and use the script. -Don't worry: the script detects if it isn't installed, and can install it for you. +The `rpmdevtools` is required to build RPM packages. The script detects if it isn't installed and offers to install it. ### About root privileges -Building an RPM package with root privileges is dangerous, because a mistake in SPEC file could result in running nasty commands. -See http://serverfault.com/questions/10027/why-is-it-bad-to-build-rpms-as-root. - -## Update discord -When a new version of discord is released, you can run the `create-package.sh` script again to create an updated package. -Then, simply install the updated package with `sudo dnf install `. - -## Supported distributions -- Fedora 25 -- Fedora 26 - -It probably work on other RPM-based distros but I haven't tested it. Let me know if it works for you! +Building an RPM package with root privileges is dangerous, see http://serverfault.com/questions/10027/why-is-it-bad-to-build-rpms-as-root. diff --git a/discord-logo-wordmark.png b/discord-logo-wordmark.png new file mode 100644 index 0000000..adc89a1 Binary files /dev/null and b/discord-logo-wordmark.png differ