From 8968334e904f0138e37ba036e39afadb4ce6a765 Mon Sep 17 00:00:00 2001 From: Oleksii Holub <1935960+Tyrrrz@users.noreply.github.com> Date: Thu, 16 May 2024 19:46:03 +0300 Subject: [PATCH] Use self-contained builds (#440) --- .github/workflows/main.yml | 5 ++--- Readme.md | 9 --------- YoutubeDownloader/YoutubeDownloader.csproj | 5 ++--- 3 files changed, 4 insertions(+), 15 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 c24e57a21..bca9c5d37 100644 --- a/Readme.md +++ b/Readme.md @@ -45,15 +45,6 @@ To learn more about the war and how you can help, [click here](https://tyrrrz.me > **Note**: > If you're unsure which build is right for your system, consult with [this page](https://useragent.cc) to determine your OS and CPU architecture. -> **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 4eae470aa..42749deec 100644 --- a/YoutubeDownloader/YoutubeDownloader.csproj +++ b/YoutubeDownloader/YoutubeDownloader.csproj @@ -21,7 +21,6 @@ - @@ -52,12 +51,12 @@ - + - +