Updated Linux usage instructions (markdown)

jman005
2019-08-12 17:00:40 -04:00
parent 681a26e258
commit 400aed86dc

@@ -1,3 +1,5 @@
# Command line
## Manual Installation
### Installing Mono
### Debian 9
@@ -40,4 +42,42 @@ To use the tool again just:
1. `cd` to its directory
2. Run `./maclinux.command`
##
Special thanks to [@RenanYudi](https://github.com/RenanYudi)
Special thanks to [@RenanYudi](https://github.com/RenanYudi)
# GUI
The GUI version of DiscordChatExporter runs on well on wine, with the exception of some cosmetic issues (e.g. black lines sporadically appearing across the application or icons being cut off.) However, some workarounds are necessary for the installation.
### Installing wine-staging
Follow the instructions on the page corresponding to your distribution for the wine-staging package.
Ubuntu/Debian: [https://wiki.winehq.org/Ubuntu](this page)
Debian: https://wiki.winehq.org/Debian
Pages for other distributions can be found here: https://wiki.winehq.org/Download
### Installing winetricks and .NET 4.6
Download winetricks via:
```
$ cd "${HOME}/Downloads"
$ wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
$ chmod +x winetricks
```
Then, run the following commands to install .NET 4.6 for wine:
```
$ sudo apt-get install binutils cabextract p7zip zenity unrar unzip wget p11-kit-modules:i386 libp11-kit-gnome-keyring:i386
$ env WINEPREFIX="$HOME/wine" WINEARCH=win32 wine wineboot
$ env WINEPREFIX="$HOME/wine" WINEARCH=win32 ./winetricks dotnet46
```
You will have to go through several installer prompts during the installation process; go through them as you would normally and don't close the console until its output is finished.
### Running the exporter
Download and extract the latest release of the [GUI exporter here.](https://github.com/Tyrrrz/DiscordChatExporter/releases/latest)
Then, in the extracted folder, run this command to start the exporter:
`$ env WINEPREFIX="$HOME/wine" WINEARCH=win32 wine DiscordChatExporter.exe`
Alternatively, you may set globally set the WINEPREFIX and WINEARCH environment variables to those of the above and simply run `wine DiscordChatExporter.exe`.