diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 5163760..a7d806d 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -64,6 +64,12 @@ jobs:
dotnet publish SoundCloudDownloader
-p:Version=${{ github.ref_type == 'tag' && github.ref_name || format('999.9.9-ci-{0}', github.sha) }}
-p:CSharpier_Bypass=true
+ -p:PublishAot=true
+ -p:PublishTrimmed=true
+ -p:TrimMode=link
+ -p:IncludeNativeLibrariesForSelfExtract=true
+ -p:DebugType=None
+ -p:DebugSymbols=false
--output SoundCloudDownloader/bin/publish
--configuration Release
--runtime ${{ matrix.rid }}
diff --git a/SoundCloudDownloader/SoundCloudDownloader.csproj b/SoundCloudDownloader/SoundCloudDownloader.csproj
index 7e79fec..4e39353 100644
--- a/SoundCloudDownloader/SoundCloudDownloader.csproj
+++ b/SoundCloudDownloader/SoundCloudDownloader.csproj
@@ -4,7 +4,6 @@
WinExe
..\favicon.ico
app.manifest
- true
false
true
true