diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 28b120a..7f8efc0 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -14,7 +14,7 @@ concurrency: jobs: linux: runs-on: ubuntu-latest - container: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-cross-arm64-staging # https://github.com/dotnet/versions/blob/main/build-info/docker/image-info.dotnet-dotnet-buildtools-prereqs-docker-main.json + container: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-cross-arm64 # https://github.com/dotnet/versions/blob/main/build-info/docker/image-info.dotnet-dotnet-buildtools-prereqs-docker-main.json steps: - name: Checkout uses: actions/checkout@v3 @@ -26,8 +26,8 @@ jobs: run: | dotnet publish MusicDecrypto.Commandline/MusicDecrypto.Commandline.csproj -c Release -o ./generic dotnet publish MusicDecrypto.Avalonia/MusicDecrypto.Avalonia.csproj -c Release -o ./generic - dotnet publish MusicDecrypto.Avalonia/MusicDecrypto.Avalonia.csproj -c Release -r linux-x64 --sc -p:PublishSingleFile=true -p:PublishTrimmed=true -p:TrimMode=copyused -o ./gui-x64 - dotnet publish MusicDecrypto.Avalonia/MusicDecrypto.Avalonia.csproj -c Release -r linux-arm64 --sc -p:PublishSingleFile=true -p:PublishTrimmed=true -p:TrimMode=copyused -o ./gui-arm64 + dotnet publish MusicDecrypto.Avalonia/MusicDecrypto.Avalonia.csproj -c Release -r linux-x64 --sc -p:PublishSingleFile=true -p:PublishTrimmed=true -p:TrimMode=partial -o ./gui-x64 + dotnet publish MusicDecrypto.Avalonia/MusicDecrypto.Avalonia.csproj -c Release -r linux-arm64 --sc -p:PublishSingleFile=true -p:PublishTrimmed=true -p:TrimMode=partial -o ./gui-arm64 - name: Publish CLI run: | dotnet publish MusicDecrypto.Commandline/MusicDecrypto.Commandline.csproj -c Release -r linux-x64 -p:CppCompilerAndLinker=clang-9 -o ./cli-x64 @@ -76,8 +76,8 @@ jobs: run: dotnet pack MusicDecrypto.Library/MusicDecrypto.Library.csproj -c Release -o . - name: Publish Avalonia run: | - dotnet publish MusicDecrypto.Avalonia/MusicDecrypto.Avalonia.csproj -c Release -r win-x64 --sc -p:PublishSingleFile=true -p:PublishTrimmed=true -p:TrimMode=copyused -o ./gui-x64 - dotnet publish MusicDecrypto.Avalonia/MusicDecrypto.Avalonia.csproj -c Release -r win-arm64 --sc -p:PublishSingleFile=true -p:PublishTrimmed=true -p:TrimMode=copyused -o ./gui-arm64 + dotnet publish MusicDecrypto.Avalonia/MusicDecrypto.Avalonia.csproj -c Release -r win-x64 --sc -p:PublishSingleFile=true -p:PublishTrimmed=true -p:TrimMode=partial -o ./gui-x64 + dotnet publish MusicDecrypto.Avalonia/MusicDecrypto.Avalonia.csproj -c Release -r win-arm64 --sc -p:PublishSingleFile=true -p:PublishTrimmed=true -p:TrimMode=partial -o ./gui-arm64 - name: Publish CLI run: | dotnet publish MusicDecrypto.Commandline/MusicDecrypto.Commandline.csproj -c Release -r win-x64 -o ./cli-x64 diff --git a/MusicDecrypto.Avalonia/MusicDecrypto.Avalonia.csproj b/MusicDecrypto.Avalonia/MusicDecrypto.Avalonia.csproj index 18c4452..a6a8888 100644 --- a/MusicDecrypto.Avalonia/MusicDecrypto.Avalonia.csproj +++ b/MusicDecrypto.Avalonia/MusicDecrypto.Avalonia.csproj @@ -4,7 +4,7 @@ net7.0 musicdecrypto-avalonia WinExe - 2.2.0 + 2.2.1 enable true diff --git a/MusicDecrypto.Commandline/MusicDecrypto.Commandline.csproj b/MusicDecrypto.Commandline/MusicDecrypto.Commandline.csproj index e211c52..1d6c5d2 100644 --- a/MusicDecrypto.Commandline/MusicDecrypto.Commandline.csproj +++ b/MusicDecrypto.Commandline/MusicDecrypto.Commandline.csproj @@ -4,7 +4,7 @@ net7.0 musicdecrypto Exe - 2.2.0 + 2.2.1 enable @@ -21,7 +21,7 @@ - + diff --git a/MusicDecrypto.Library/MusicDecrypto.Library.csproj b/MusicDecrypto.Library/MusicDecrypto.Library.csproj index 075cd2d..48e98f0 100644 --- a/MusicDecrypto.Library/MusicDecrypto.Library.csproj +++ b/MusicDecrypto.Library/MusicDecrypto.Library.csproj @@ -5,7 +5,7 @@ libmusicdecrypto enable $(MSBuildProjectName.Replace(" ", "_")) - 2.2.0 + 2.2.1 Music de-obfuscation on .NET davidxuang LGPL-3.0-or-later diff --git a/README.md b/README.md index 3aa8715..d806c2e 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![GitHub release](https://img.shields.io/github/release/davidxuang/musicdecrypto.svg)](https://GitHub.com/davidxuang/musicdecrypto/releases/) [![GitHub license](https://img.shields.io/github/license/davidxuang/musicdecrypto.svg)](https://github.com/davidxuang/musicdecrypto/blob/master/LICENSE) -This project implements music de-obfuscation on [.NET](https://dotnet.microsoft.com/), and accelerates the process with [SIMD](https://docs.microsoft.com/en-us/dotnet/standard/simd). The CLI program also uses experimental [Native AOT](https://github.com/dotnet/runtimelab/tree/feature/NativeAOT) feature. +This project implements music de-obfuscation on [.NET](https://dotnet.microsoft.com/), and accelerates the process with [SIMD](https://docs.microsoft.com/en-us/dotnet/standard/simd). The CLI program also uses [Native AOT](https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot/) feature. ## Licensing