diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 940f7a8..1125a41 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,7 +40,7 @@ jobs: DOTNETARCH: ${{ matrix.dotnetarch }} run: | cd Image2Display/Image2Display - dotnet publish -r $DOTNETOS-$DOTNETARCH --configuration Release -p:PublishSingleFile=true --self-contained true -p:PublishTrimmed=true -p:TrimMode=link + dotnet publish -r $DOTNETOS-$DOTNETARCH --configuration Release -p:PublishSingleFile=true -p:IncludeNativeLibrariesFromSelfExtract=true --self-contained true -p:PublishTrimmed=true -p:TrimMode=link mkdir pkg mv bin/Release/net8.0/$DOTNETOS-$DOTNETARCH/publish/* pkg/ diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c67969f..886cdda 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,7 +39,7 @@ jobs: DOTNETARCH: ${{ matrix.dotnetarch }} run: | cd Image2Display/Image2Display - dotnet publish -r $DOTNETOS-$DOTNETARCH --configuration Release -p:PublishSingleFile=true --self-contained true -p:PublishTrimmed=true -p:TrimMode=link + dotnet publish -r $DOTNETOS-$DOTNETARCH --configuration Release -p:PublishSingleFile=true -p:IncludeNativeLibrariesFromSelfExtract=true --self-contained true -p:PublishTrimmed=true -p:TrimMode=link mkdir pkg mv bin/Release/net8.0/$DOTNETOS-$DOTNETARCH/publish/* pkg/ diff --git a/Image2Display/Image2Display/Image2Display.csproj b/Image2Display/Image2Display/Image2Display.csproj index 6bd2590..5b3a9c6 100644 --- a/Image2Display/Image2Display/Image2Display.csproj +++ b/Image2Display/Image2Display/Image2Display.csproj @@ -10,7 +10,7 @@ chenxuuu https://github.com/chenxuuu/image2display Image data conversion tool - 1.1.0.0 + 1.1.2.0