From 8f40f9f5b1ef878e3f0173c1c728f5c59d0ccb9d Mon Sep 17 00:00:00 2001 From: mingkuang Date: Sat, 4 May 2024 22:57:53 +0800 Subject: [PATCH] =?UTF-8?q?Fea=EF=BC=8C=E6=B7=BB=E5=8A=A0.NET=20native=20A?= =?UTF-8?q?OT=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .editorconfig | 2 +- .github/workflows/Build&Test.yml | 2 +- YY-Thunks.nuspec => NuGet/YY-Thunks.nuspec | 13 ++++++++---- .../build/native/YY-Thunks.targets | 0 ...i_D5D733D3-8829-4509-9C74-021E5685ED18.xml | 0 .../build/net8.0-windows7.0/YY-Thunks.targets | 21 +++++++++++++++++++ 6 files changed, 32 insertions(+), 6 deletions(-) rename YY-Thunks.nuspec => NuGet/YY-Thunks.nuspec (81%) rename YY-Thunks.targets => NuGet/build/native/YY-Thunks.targets (100%) rename YY-Thunks_ui_D5D733D3-8829-4509-9C74-021E5685ED18.xml => NuGet/build/native/YY-Thunks_ui_D5D733D3-8829-4509-9C74-021E5685ED18.xml (100%) create mode 100644 NuGet/build/net8.0-windows7.0/YY-Thunks.targets diff --git a/.editorconfig b/.editorconfig index a9c528c..96e3729 100644 --- a/.editorconfig +++ b/.editorconfig @@ -11,6 +11,6 @@ charset = utf-8-bom indent_style = space indent_size = 4 -[*.{vcxproj,xml}] +[*.{vcxproj,xml,nuspec,targets}] indent_style = space indent_size = 2 diff --git a/.github/workflows/Build&Test.yml b/.github/workflows/Build&Test.yml index 65a2574..1a0fc12 100644 --- a/.github/workflows/Build&Test.yml +++ b/.github/workflows/Build&Test.yml @@ -73,7 +73,7 @@ jobs: git fetch --depth=1 origin +refs/tags/*:refs/tags/* $releaseNotes = & git tag -l --format='%(contents)' $env:GITHUB_REF.Remove(0, 10) - $content = [System.IO.File]::ReadAllText("YY-Thunks.nuspec") + $content = [System.IO.File]::ReadAllText("NuGet\YY-Thunks.nuspec") # 使用此文本替换 .nuspec 中的 releaseNotes # [System.IO.File]::WriteAllText("YY-Thunks-New.nuspec", $content) diff --git a/YY-Thunks.nuspec b/NuGet/YY-Thunks.nuspec similarity index 81% rename from YY-Thunks.nuspec rename to NuGet/YY-Thunks.nuspec index 5ad13d1..02eb70b 100644 --- a/YY-Thunks.nuspec +++ b/NuGet/YY-Thunks.nuspec @@ -1,4 +1,4 @@ - + YY-Thunks @@ -17,11 +17,16 @@ Copyright 2021 Chuyu YY-Thunks native nativepackage + + + + + + - - + - \ No newline at end of file + diff --git a/YY-Thunks.targets b/NuGet/build/native/YY-Thunks.targets similarity index 100% rename from YY-Thunks.targets rename to NuGet/build/native/YY-Thunks.targets diff --git a/YY-Thunks_ui_D5D733D3-8829-4509-9C74-021E5685ED18.xml b/NuGet/build/native/YY-Thunks_ui_D5D733D3-8829-4509-9C74-021E5685ED18.xml similarity index 100% rename from YY-Thunks_ui_D5D733D3-8829-4509-9C74-021E5685ED18.xml rename to NuGet/build/native/YY-Thunks_ui_D5D733D3-8829-4509-9C74-021E5685ED18.xml diff --git a/NuGet/build/net8.0-windows7.0/YY-Thunks.targets b/NuGet/build/net8.0-windows7.0/YY-Thunks.targets new file mode 100644 index 0000000..6396f88 --- /dev/null +++ b/NuGet/build/net8.0-windows7.0/YY-Thunks.targets @@ -0,0 +1,21 @@ + + + + + + + + + x64\YY_Thunks_for_Vista.obj + x64\YY_Thunks_for_WinXP.obj + + + x86\YY_Thunks_for_Vista.obj + x86\YY_Thunks_for_WinXP.obj + x86\YY_Thunks_for_Win2K.obj + + + + + +