Updated Linux usage instructions (markdown)

Yudi
2018-10-13 16:28:54 -03:00
parent 6aef192c79
commit 7a23293e4a

@@ -1,48 +1,45 @@
The GUI version doesn't work on non-Windows OS. ## Manual Install
### Installing Mono
# Manual Install
## Installing Mono
### Debian 9 ### Debian 9
Open Terminal and type Open Terminal and type
1. `su`
2. `apt install apt-transport-https dirmngr` $ su
3. `apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF` # apt install apt-transport-https dirmngr
4. `echo "deb https://download.mono-project.com/repo/debian stable-stretch main" | tee /etc/apt/sources.list.d/mono-official-stable.list` # apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
5. `apt update` # echo "deb https://download.mono-project.com/repo/debian stable-stretch main" | tee /etc/apt/sources.list.d/mono-official-stable.list
6. `apt install mono-devel` # apt update
# apt install mono-devel
### Ubuntu 18 ### Ubuntu 18
1. `sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF` $ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF`
2. `echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list` $ echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list`
3. `sudo apt update` $ sudo apt update`
4. `sudo apt install mono-devel` $ sudo apt install mono-devel`
[**Other versions**](https://www.mono-project.com/download/stable)
## ##
Check if mono was installed by running `mono -V`.
Instructions for older versions are available [here](https://www.mono-project.com/download/stable). ### Downloading and using DiscordChatExporter.Cli.exe
Download and unzip the [latest version](https://github.com/Tyrrrz/DiscordChatExporter/releases/latest) to a folder.
Replace `TOKEN` and `CHANNEL`, then execute this command to export:
## Downloading and using DiscordChatExporter.Cli.exe mono DiscordChatExporter.Cli.exe export -t TOKEN -c CHANNEL
Download the latest DiscordChatExporter.CLI.zip [here](https://github.com/Tyrrrz/DiscordChatExporter/releases/latest) and move it to your Desktop. In Terminal type:
1. `cd ~/Desktop`
2. `unzip DiscordChatExporter.CLI.zip -d /DiscordChatExporter | cd DiscordChatExporter`
3. Replace `TOKEN` and `CHANNEL`, and execute this command to run DiscordChatExporter.Cli.exe
`mono DiscordChatExporter.Cli.exe export -t TOKEN -c CHANNEL`
# Automatic Install ## Automatic Install
**First run only** **First run**
Download the latest maclinux.command and DiscordChatExporter [here], and move it into a folder. In Terminal: Download and unzip the [latest tool](https://github.com/RenanYudi/DiscordChatExporter-Unix/releases/latest). In Terminal:
1. `cd` to its Directory 1. `cd` to its directory
2. Run `chmod +x maclinux.command` as root 2. Run `chmod +x maclinux.command` as root
3. Run `./maclinux.command` as root 3. Run `./maclinux.command` as root
## ##
To use the tool again just: To use the tool again just:
1. `cd` to its Directory 1. `cd` to its directory
2. Run `./maclinux.command` 2. Run `./maclinux.command`
## ##
Credits to [@RenanYudi](https://github.com/RenanYudi) Credits to [@RenanYudi](https://github.com/RenanYudi)