Merge pull request #57 from GermanBread/master

Helper script added to readme.md
This commit is contained in:
JeanOUINA 2020-10-15 18:00:05 +02:00 committed by GitHub
commit bc9500bb88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 5 deletions

View File

@ -50,7 +50,7 @@ https://aur.archlinux.org/packages/lightcord-bin/
If you don't know how to install from the AUR, you can follow [this](https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_and_upgrading_packages) tutorial, but I would recommend using an AUR helper such as ``yay``.
## Other linux distribution
You can also install it via this one-liner command. It will automatically :
You can also install it via this install script. It will automatically :
- Download the latest Lightcord stable release from the official dev server.
- Extract its file, and rename it to a more conventional ¨Lightcord¨ folder.
- Install the Lightcord files in /opt/.
@ -58,10 +58,13 @@ You can also install it via this one-liner command. It will automatically :
- Download an apropriate .desktop file and install it in /usr/share/applications.
- Add executions rights to the .desktop file to be able to launch Lightcord from it.
- Download the Lightcord icon in an .svg format, and will install it in /usr/share/pixmaps.
*Require administrator rights to install in /opt/ and for some files in /usr/.*
```
wget https://lightcord.org/api/v1/gh/releases/Lightcord/Lightcord/dev/lightcord-linux-x64.zip; unzip lightcord-linux-x64.zip -d Lightcord; rm lightcord-linux-x64.zip; cd Lightcord; chmod +x ./lightcord; cd ..; sudo mv Lightcord/ /opt/; rm Lightcord/; wget https://raw.githubusercontent.com/Lightcord/Lightcord/master/Lightcord.desktop; sudo mv Lightcord.desktop /usr/share/applications; chmod +x /usr/share/applications/Lightcord.desktop; wget https://raw.githubusercontent.com/Lightcord/LightcordLogos/master/lightcord/lightcord.svg; sudo mv lightcord.svg /usr/share/pixmaps; /opt/Lightcord/lightcord
```
## Install script
*The script needs to be run as root to install Lightcord.*
*Please install the "unzip" package before executing this script as this script depends on it.*
- Run `wget https://raw.githubusercontent.com/GermanBread/UsefulTools/main/Lightcord_dev_installer.sh`
- Then: `sudo bash Lightcord_dev_installer.sh`
- To remove it: `rm Lightcord_dev_installer.sh`
## Features
* **BetterDiscord** Themes/Plugins