From 520f5cbcd42a2cf665b54e591a618ebeb1211191 Mon Sep 17 00:00:00 2001
From: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>
Date: Mon, 29 Apr 2024 20:07:59 +0300
Subject: [PATCH] Use self-contained builds
---
.github/workflows/main.yml | 5 ++---
Readme.md | 9 ---------
YoutubeDownloader/YoutubeDownloader.csproj | 1 -
3 files changed, 2 insertions(+), 13 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index f7a0f360b..833fb7406 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -50,8 +50,7 @@ jobs:
- osx-arm64
- osx-x64
- # Need to run on Windows because of DotnetRuntimeBootstrapper's dependency on Ressy
- runs-on: windows-latest
+ runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
@@ -75,7 +74,7 @@ jobs:
--output YoutubeDownloader/bin/publish
--configuration Release
--runtime ${{ matrix.rid }}
- --no-self-contained
+ --self-contained
- name: Upload artifacts
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
diff --git a/Readme.md b/Readme.md
index 0c1637761..56565155b 100644
--- a/Readme.md
+++ b/Readme.md
@@ -42,15 +42,6 @@ To learn more about the war and how you can help, [click here](https://tyrrrz.me
- 🟢 **[Stable release](https://github.com/Tyrrrz/YoutubeDownloader/releases/latest)**
- 🟠[CI build](https://github.com/Tyrrrz/YoutubeDownloader/actions/workflows/main.yml)
-> **Important**:
-> To run **YoutubeDownloader**, you need to make sure that the **.NET 8.0 Runtime** is installed.
-> You can download it here:
->
-> - [.NET 8.0 Runtime for **macOS x64**](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-8.0.0-macos-x64-installer)
-> - [.NET 8.0 Runtime for **macOS arm64**](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-8.0.0-macos-arm64-installer)
-> - [.NET 8.0 Runtime for **Linux**](https://learn.microsoft.com/dotnet/core/install/linux) (find the correct download for your distro)
-> - On **Windows**, the runtime should be installed automatically when you run the application for the first time
-
## Features
- Cross-platform graphical user interface
diff --git a/YoutubeDownloader/YoutubeDownloader.csproj b/YoutubeDownloader/YoutubeDownloader.csproj
index 78b3c8b26..91c9cf409 100644
--- a/YoutubeDownloader/YoutubeDownloader.csproj
+++ b/YoutubeDownloader/YoutubeDownloader.csproj
@@ -22,7 +22,6 @@
-