mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-17 15:08:24 +00:00
Removed GUI and Mono in favor of .NET Core
@@ -1,62 +1,13 @@
|
||||
# Command line
|
||||
### Installing Mono
|
||||
Please follow the [instructions provided here](https://www.mono-project.com/download/stable/).
|
||||
### Installing .NET Core runtime
|
||||
Please follow the [instructions provided here](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Install-.NET-Core-runtime).
|
||||
|
||||
### Running the exporter
|
||||
Download and extract the [DiscordChatExporter.CLI.zip file](https://github.com/Tyrrrz/DiscordChatExporter/releases/tag/2.15) (2.15).
|
||||
Download and extract the [DiscordChatExporter.CLI.zip file](https://github.com/Tyrrrz/DiscordChatExporter/releases/latest).
|
||||
|
||||
`cd` to the extracted folder, replace `TOKEN` and `CHANNEL`, then run this command to export:
|
||||
```
|
||||
$ mono DiscordChatExporter.Cli.exe export -t TOKEN -c CHANNEL
|
||||
$ dotnet DiscordChatExporter.Cli.dll export -t TOKEN -c CHANNEL
|
||||
```
|
||||
|
||||
# GUI
|
||||
The GUI version of DiscordChatExporter runs 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 additional steps are necessary for the installation.
|
||||
|
||||
### Installing winehq-stable
|
||||
Follow the instructions on the page corresponding to your distribution for the `winehq-stable` package [here](https://wiki.winehq.org/Download).
|
||||
|
||||
### Installing winetricks and .NET 4.6
|
||||
Debian and Ubuntu:
|
||||
|
||||
```
|
||||
$ sudo apt install -y binutils cabextract p7zip zenity unzip wget p11-kit-modules:i386
|
||||
```
|
||||
|
||||
Download winetricks via:
|
||||
|
||||
```
|
||||
$ cd ~/Downloads
|
||||
$ wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
|
||||
$ chmod +x winetricks
|
||||
```
|
||||
|
||||
Then, run the following commands to install .NET for Wine:
|
||||
|
||||
|
||||
```
|
||||
$ env WINEPREFIX="$HOME/wine" WINEARCH=win32 wine wineboot
|
||||
$ env WINEPREFIX="$HOME/wine" WINEARCH=win32 ./winetricks dotnet46
|
||||
```
|
||||
|
||||
There'll be several installer prompts, go through them as you normally would and do NOT close the Terminal window until its output is finished.
|
||||
|
||||
### Running the exporter
|
||||
Download and extract the [DiscordChatExporter.zip file](https://github.com/Tyrrrz/DiscordChatExporter/releases/tag/2.15) (2.15).
|
||||
|
||||
Then, in the extracted folder, run this command to start the exporter:
|
||||
```
|
||||
$ env WINEPREFIX="$HOME/wine" WINEARCH=win32 wine DiscordChatExporter.exe
|
||||
```
|
||||
**Alternatively**, you may globally set the WINEPREFIX and WINEARCH environment variables with:
|
||||
```
|
||||
$ export WINEPREFIX="$HOME/wine" && export WINEARCH=win32
|
||||
```
|
||||
So the tool can be started with a simple command:
|
||||
```
|
||||
$ wine DiscordChatExporter.exe
|
||||
```
|
||||
##
|
||||
Further reading: [GUI, CLI and Formats explained](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained)
|
||||
|
||||
Special thanks to [@RenanYudi](https://github.com/RenanYudi) and [@jman005](https://github.com/jman005) (GUI on Wine)
|
||||
Further reading: [GUI, CLI and Formats explained](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained)
|
||||
Reference in New Issue
Block a user