Skip to content

Commit b754875

Browse files
authored
Use self-contained builds (#1224)
1 parent 8f9c0f8 commit b754875

File tree

11 files changed

+3
-94
lines changed

11 files changed

+3
-94
lines changed

.docs/Dotnet.md

Lines changed: 0 additions & 51 deletions
This file was deleted.

.docs/Readme.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
## Installation & Usage
44

5-
- [Get .NET Runtime](Dotnet.md)
65
- Getting started:
76
- [Using the GUI](Using-the-GUI.md)
87
- [Using the CLI](Using-the-CLI.md)
@@ -28,6 +27,5 @@
2827
- [General questions](Troubleshooting.md#general)
2928
- [First steps help](Troubleshooting.md#first-steps)
3029
- [It's crashing/failing](Troubleshooting.md#DCE-is-crashingfailing)
31-
- [.NET Core Runtime is required](Troubleshooting.md#net-core-runtime-is-required)
3230
- [Errors](Troubleshooting.md#errors)
3331
- [**More help**](Troubleshooting.md)

.docs/Scheduling-Linux.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Scheduling exports with Cron
22

3-
Make sure you already have **DiscordChatExporter.CLI** downloaded and **.NET Runtime** installed.
4-
53
## Creating the script
64

75
1. Open Terminal and create a new text file with `nano /path/to/DiscordChatExporter/cron.sh`

.docs/Scheduling-MacOS.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Scheduling exports on macOS
22

3-
Make sure you already have **DiscordChatExporter.CLI** downloaded and **.NET Runtime** installed.
4-
53
## Creating the script
64

75
1. Open TextEdit.app and create a new file

.docs/Scheduling-Windows.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# Scheduling exports on Windows
22

3-
We'll be using [DiscordChatExporter CLI](https://github.com/Tyrrrz/DiscordChatExporter/releases/latest), PowerShell, and Task Scheduler.
4-
Make sure you already have **DiscordChatExporter.CLI** downloaded and **.NET Runtime** installed.
5-
63
## Creating the script
74

85
1. Open a text editor such as Notepad and paste:

.docs/Troubleshooting.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Check the following page: [Obtaining token](Token-and-IDs.md)
7070

7171
### When I open DCE a black window pops up quickly or nothing shows up
7272

73-
If you have [.NET Runtime correctly installed](Dotnet.md), you might have downloaded the CLI flavor, try [downloading the GUI](Getting-started.md#gui-or-cli) instead.
73+
You might have downloaded the CLI flavor of the app, which is meant to be run in a terminal. Try [downloading the GUI](Getting-started.md#gui-or-cli) instead if that's what you want.
7474

7575
### How can I set DCE to export automatically at certain times?
7676

@@ -84,16 +84,6 @@ Check the following pages to learn how to schedule **DiscordChatExporter.CLI** r
8484

8585
Try opening it with a different program, try partitioning or use a different file format, like `PlainText`.
8686

87-
### DCE is crashing/failing
88-
89-
Check the following page: [Installing .NET Core Runtime](Dotnet.md)
90-
91-
If you already have .NET Core installed, please check if your problem is a [known issue](https://github.com/Tyrrrz/DiscordChatExporter/issues?q=is%3Aissue) before [opening a bug report](https://github.com/Tyrrrz/DiscordChatExporter/issues/new).
92-
93-
### .NET Core Runtime is required
94-
95-
Check the following page: [Installing .NET Core Runtime](Dotnet.md)
96-
9787
### I see messages in the export, but they have no content
9888

9989
Your bot is missing the 'Message Content Intent'. Go to the [Discord Developer Portal](https://discord.com/developers/applications), navigate to the 'Bot' section and enable it.

.docs/Using-the-CLI.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
# Using the CLI
22

3-
## Guide
4-
5-
> **Note**:
6-
> Make sure you have [.NET Core installed](Dotnet.md) before attempting to run the commands below.
7-
> **Docker** users, please refer to the [Docker usage instructions](Docker.md).
8-
93
## Step 1
104

115
After extracting the `.zip`, open Command Prompt, aka `cmd` (`Terminal` on **macOS** and **Linux**).

.github/workflows/main.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,7 @@ jobs:
9999
# GUI assets aren't suffixed, unlike the CLI assets
100100
asset: DiscordChatExporter
101101

102-
# Need to run on Windows because of DotnetRuntimeBootstrapper's dependency on Ressy
103-
runs-on: windows-latest
102+
runs-on: ubuntu-latest
104103
timeout-minutes: 10
105104

106105
permissions:
@@ -124,7 +123,7 @@ jobs:
124123
--output ${{ matrix.app }}/bin/publish/
125124
--configuration Release
126125
--runtime ${{ matrix.rid }}
127-
--no-self-contained
126+
--self-contained
128127
129128
- name: Upload artifacts
130129
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0

DiscordChatExporter.Cli/DiscordChatExporter.Cli.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<PackageReference Include="CliFx" Version="2.3.5" />
1010
<PackageReference Include="CSharpier.MsBuild" Version="0.28.2" PrivateAssets="all" />
1111
<PackageReference Include="Deorcify" Version="1.0.2" PrivateAssets="all" />
12-
<PackageReference Include="DotnetRuntimeBootstrapper" Version="2.5.4" PrivateAssets="all" />
1312
<PackageReference Include="Gress" Version="2.1.1" />
1413
<PackageReference Include="Spectre.Console" Version="0.49.1" />
1514
</ItemGroup>

DiscordChatExporter.Gui/DiscordChatExporter.Gui.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
<PackageReference Include="CSharpier.MsBuild" Version="0.28.2" PrivateAssets="all" />
2121
<PackageReference Include="Deorcify" Version="1.0.2" PrivateAssets="all" />
2222
<PackageReference Include="DialogHost.Avalonia" Version="0.7.7" />
23-
<PackageReference Include="DotnetRuntimeBootstrapper" Version="2.5.4" PrivateAssets="all" />
2423
<PackageReference Include="Gress" Version="2.1.1" />
2524
<PackageReference Include="Material.Avalonia" Version="3.6.0" />
2625
<PackageReference Include="Material.Icons.Avalonia" Version="2.1.9" />

0 commit comments

Comments
 (0)