Improve readme with logo

This commit is contained in:
TheElectronWill 2017-09-17 18:12:23 +02:00
parent 7ade5025d9
commit 7a52c64ed3
2 changed files with 19 additions and 20 deletions

View file

@ -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 <rpm file>`.
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 <rpm file>`.
## 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.

BIN
discord-logo-wordmark.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB