From 506d1118b27f1f9969987442af5b08266d7592d8 Mon Sep 17 00:00:00 2001 From: CJKmkp <2564608840@qq.com> Date: Sat, 28 Mar 2026 22:25:50 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ink Canvas/InkCanvasForClass.csproj | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Ink Canvas/InkCanvasForClass.csproj b/Ink Canvas/InkCanvasForClass.csproj index 80df8ba1..b1bc2922 100644 --- a/Ink Canvas/InkCanvasForClass.csproj +++ b/Ink Canvas/InkCanvasForClass.csproj @@ -26,6 +26,7 @@ False true Debug;Release + AnyCPU;x86;x64;ARM64 embedded @@ -59,11 +60,11 @@ app.manifest InkCanvasForClass - 5.0.4 - Dubi906w + 1.7.X + CJK_mkp InkCanvasForClass - © Copyright HARKOTEK Studio 2024-now - https://icc.bliemhax.com + © Copyright CJK_mkp 2025-now + https://inkcanvasforclass.github.io bundled False From 114f400bd9f4faa089b0df6a81a4efce7dc6add7 Mon Sep 17 00:00:00 2001 From: CJKmkp <2564608840@qq.com> Date: Sat, 28 Mar 2026 22:29:38 +0800 Subject: [PATCH 2/7] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ink Canvas/InkCanvasForClass.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ink Canvas/InkCanvasForClass.csproj b/Ink Canvas/InkCanvasForClass.csproj index b1bc2922..93a4026a 100644 --- a/Ink Canvas/InkCanvasForClass.csproj +++ b/Ink Canvas/InkCanvasForClass.csproj @@ -60,7 +60,7 @@ app.manifest InkCanvasForClass - 1.7.X + 1.7 CJK_mkp InkCanvasForClass © Copyright CJK_mkp 2025-now From f2ed3f619c17bb1880fc4d122f1f01bbe3ceeaa2 Mon Sep 17 00:00:00 2001 From: CJKmkp <2564608840@qq.com> Date: Sat, 28 Mar 2026 22:32:35 +0800 Subject: [PATCH 3/7] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ink Canvas.sln | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Ink Canvas.sln b/Ink Canvas.sln index cb6265f1..0daac4d2 100644 --- a/Ink Canvas.sln +++ b/Ink Canvas.sln @@ -1,4 +1,3 @@ - Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.5.33530.505 @@ -25,10 +24,10 @@ Global {8D0EDFC7-F974-4571-BC49-6F3A6653FE81}.Debug|ARM.Build.0 = Debug|Any CPU {8D0EDFC7-F974-4571-BC49-6F3A6653FE81}.Debug|ARM64.ActiveCfg = Debug|Any CPU {8D0EDFC7-F974-4571-BC49-6F3A6653FE81}.Debug|ARM64.Build.0 = Debug|Any CPU - {8D0EDFC7-F974-4571-BC49-6F3A6653FE81}.Debug|x64.ActiveCfg = Debug|Any CPU - {8D0EDFC7-F974-4571-BC49-6F3A6653FE81}.Debug|x64.Build.0 = Debug|Any CPU - {8D0EDFC7-F974-4571-BC49-6F3A6653FE81}.Debug|x86.ActiveCfg = Debug|Any CPU - {8D0EDFC7-F974-4571-BC49-6F3A6653FE81}.Debug|x86.Build.0 = Debug|Any CPU + {8D0EDFC7-F974-4571-BC49-6F3A6653FE81}.Debug|x64.ActiveCfg = Debug|x64 + {8D0EDFC7-F974-4571-BC49-6F3A6653FE81}.Debug|x64.Build.0 = Debug|x64 + {8D0EDFC7-F974-4571-BC49-6F3A6653FE81}.Debug|x86.ActiveCfg = Debug|x86 + {8D0EDFC7-F974-4571-BC49-6F3A6653FE81}.Debug|x86.Build.0 = Debug|x86 {8D0EDFC7-F974-4571-BC49-6F3A6653FE81}.Release|Any CPU.ActiveCfg = Release|Any CPU {8D0EDFC7-F974-4571-BC49-6F3A6653FE81}.Release|Any CPU.Build.0 = Release|Any CPU {8D0EDFC7-F974-4571-BC49-6F3A6653FE81}.Release|ARM.ActiveCfg = Release|Any CPU From 55c336daab833a742020cb23cfe12ad5fcbadd52 Mon Sep 17 00:00:00 2001 From: CJKmkp <2564608840@qq.com> Date: Sat, 28 Mar 2026 23:19:14 +0800 Subject: [PATCH 4/7] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ink Canvas/InkCanvasForClass.csproj | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Ink Canvas/InkCanvasForClass.csproj b/Ink Canvas/InkCanvasForClass.csproj index 93a4026a..47bdc078 100644 --- a/Ink Canvas/InkCanvasForClass.csproj +++ b/Ink Canvas/InkCanvasForClass.csproj @@ -84,14 +84,16 @@ bin\$(Configuration)\$(Platform)\ - full + none + false 7.3 x64 false bin\$(Configuration)\$(Platform)\ - pdbonly + none + false 7.3 x64 false From b2290ecf6587730d04d8e8b7d2f522ca636e4050 Mon Sep 17 00:00:00 2001 From: doudou0720 <98651603+doudou0720@users.noreply.github.com> Date: Sat, 28 Mar 2026 23:56:31 +0800 Subject: [PATCH 5/7] =?UTF-8?q?feat(ci):=E6=94=AF=E6=8C=81=E5=A4=9A?= =?UTF-8?q?=E6=9E=B6=E6=9E=84=E7=BC=96=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: doudou0720 <98651603+doudou0720@users.noreply.github.com> --- .github/workflows/prerelease.yml | 173 +++++++++++++++++++++++++------ 1 file changed, 140 insertions(+), 33 deletions(-) diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 2682951c..bc30a9cc 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -200,6 +200,10 @@ jobs: needs: prepare if: success() runs-on: windows-latest + strategy: + fail-fast: false + matrix: + architecture: [AnyCPU, x86] outputs: archive_name: ${{ steps.create_archive.outputs.archive_name }} zip_size: ${{ steps.calculate_size.outputs.zip_size }} @@ -227,12 +231,12 @@ jobs: env: DLASS_SENTRY_DSN: ${{ secrets.DLASS_SENTRY_DSN }} run: | - msbuild /p:platform="AnyCPU" /p:configuration="Release" /p:GitFlow="Github Action" "Ink Canvas/InkCanvasForClass.csproj" /m /p:UseMultiToolTask=true /p:EnforceProcessCountAcrossBuilds=true /verbosity:minimal -maxcpucount /p:RunAnalyzers=false + msbuild /p:platform="${{ matrix.architecture }}" /p:configuration="Release" /p:GitFlow="Github Action" "Ink Canvas/InkCanvasForClass.csproj" /m /p:UseMultiToolTask=true /p:EnforceProcessCountAcrossBuilds=true /verbosity:minimal -maxcpucount /p:RunAnalyzers=false - name: Check if exe file is generated id: check-exe run: | - $exePath = "Ink Canvas/bin/Release/net472/InkCanvasForClass.exe" + $exePath = "Ink Canvas\bin\Release\${{ matrix.architecture }}\net472\InkCanvasForClass.exe" if (Test-Path $exePath) { echo "build_success=true" >> $env:GITHUB_OUTPUT @@ -265,13 +269,22 @@ jobs: if: steps.check-exe.outputs.build_success == 'true' run: | $version = "${{ needs.prepare.outputs.version }}" - $archiveName = "InkCanvasForClass.CE.$version.zip" + $architecture = "${{ matrix.architecture }}" + + # 根据架构生成文件名后缀 + if ($architecture -eq "AnyCPU") { + $suffix = "-x64" + } else { + $suffix = "" + } + + $archiveName = "InkCanvasForClass.CE.$version$suffix.zip" # 创建发布目录 New-Item -ItemType Directory -Path "release" -Force - # 复制发布文件 - Copy-Item "Ink Canvas/bin/Release/net472/*" "release/" -Recurse -Force + # 复制发布文件(使用架构特定的路径) + Copy-Item "Ink Canvas\bin\Release\$architecture\net472\*" "release/" -Recurse -Force # 创建压缩包 Compress-Archive -Path "release/*" -DestinationPath $archiveName -Force @@ -282,6 +295,7 @@ jobs: if: steps.check-exe.outputs.build_success == 'true' run: | $version = "${{ needs.prepare.outputs.version }}" + $architecture = "${{ matrix.architecture }}" # 更新 ISS 文件中的版本信息 $issPath = "build/InkCanvasForClass CE.iss" @@ -317,8 +331,17 @@ jobs: if: steps.check-exe.outputs.build_success == 'true' run: | $version = "${{ needs.prepare.outputs.version }}" + $architecture = "${{ matrix.architecture }}" + + # 根据架构生成文件名后缀 + if ($architecture -eq "AnyCPU") { + $suffix = "-x64" + } else { + $suffix = "" + } + $setupFile = "InkCanvasForClass CE Setup.exe" - $newSetupName = "InkCanvasForClass.CE.$version.Setup.exe" + $newSetupName = "InkCanvasForClass.CE.$version$suffix.Setup.exe" if (Test-Path $setupFile) { Rename-Item -Path $setupFile -NewName $newSetupName @@ -331,7 +354,16 @@ jobs: if: steps.check-exe.outputs.build_success == 'true' run: | $version = "${{ needs.prepare.outputs.version }}" - $archiveName = "InkCanvasForClass.CE.$version.zip" + $architecture = "${{ matrix.architecture }}" + + # 根据架构生成文件名后缀 + if ($architecture -eq "AnyCPU") { + $suffix = "-x64" + } else { + $suffix = "" + } + + $archiveName = "InkCanvasForClass.CE.$version$suffix.zip" # 获取文件大小(字节) $fileSize = (Get-Item $archiveName).Length @@ -343,7 +375,16 @@ jobs: if: steps.check-exe.outputs.build_success == 'true' run: | $version = "${{ needs.prepare.outputs.version }}" - $installerName = "InkCanvasForClass.CE.$version.Setup.exe" + $architecture = "${{ matrix.architecture }}" + + # 根据架构生成文件名后缀 + if ($architecture -eq "AnyCPU") { + $suffix = "-x64" + } else { + $suffix = "" + } + + $installerName = "InkCanvasForClass.CE.$version$suffix.Setup.exe" if (Test-Path $installerName) { # 获取文件大小(字节) @@ -354,14 +395,34 @@ jobs: Write-Error "Installer file not found: $installerName" } + - name: Upload Build Artifacts + if: steps.check-exe.outputs.build_success == 'true' + run: | + $version = "${{ needs.prepare.outputs.version }}" + $architecture = "${{ matrix.architecture }}" + + # 根据架构生成文件名后缀 + if ($architecture -eq "AnyCPU") { + $suffix = "-x64" + } else { + $suffix = "" + } + + $zipFile = "InkCanvasForClass.CE.$version$suffix.zip" + $setupFile = "InkCanvasForClass.CE.$version$suffix.Setup.exe" + + echo "zip_file=$zipFile" >> $env:GITHUB_OUTPUT + echo "setup_file=$setupFile" >> $env:GITHUB_OUTPUT + id: get_file_names + - name: Upload Build Artifacts if: steps.check-exe.outputs.build_success == 'true' uses: actions/upload-artifact@v7 with: - name: build-files-${{ needs.prepare.outputs.version }} + name: build-files-${{ needs.prepare.outputs.version }}-${{ matrix.architecture }} path: | - InkCanvasForClass.CE.${{ needs.prepare.outputs.version }}.zip - InkCanvasForClass.CE.${{ needs.prepare.outputs.version }}.Setup.exe + ${{ steps.get_file_names.outputs.zip_file }} + ${{ steps.get_file_names.outputs.setup_file }} - name: Create Build Summary if: always() @@ -376,6 +437,7 @@ jobs: echo "**Version:** ${{ needs.prepare.outputs.version }}" >> $GITHUB_STEP_SUMMARY echo "**Tag:** \`${{ needs.prepare.outputs.tag_name }}\`" >> $GITHUB_STEP_SUMMARY echo "**Release Type:** ${{ needs.prepare.outputs.is_prerelease == 'true' && 'Pre-release' || 'Release' }}" >> $GITHUB_STEP_SUMMARY + echo "**Architecture:** ${{ matrix.architecture }}" >> $GITHUB_STEP_SUMMARY echo "**Commit:** \`${{ github.sha }}\`" >> $GITHUB_STEP_SUMMARY echo "**Run:** #${{ github.run_number }}" >> $GITHUB_STEP_SUMMARY echo "" >> $GITHUB_STEP_SUMMARY @@ -393,6 +455,7 @@ jobs: echo "" >> $GITHUB_STEP_SUMMARY echo "**Version:** ${{ needs.prepare.outputs.version }}" >> $GITHUB_STEP_SUMMARY echo "**Tag:** \`${{ needs.prepare.outputs.tag_name }}\`" >> $GITHUB_STEP_SUMMARY + echo "**Architecture:** ${{ matrix.architecture }}" >> $GITHUB_STEP_SUMMARY echo "**Event:** ${{ github.event_name }} (${{ github.event.action || 'N/A' }})" >> $GITHUB_STEP_SUMMARY echo "**Commit:** \`${{ github.sha }}\`" >> $GITHUB_STEP_SUMMARY echo "**Run:** #${{ github.run_number }}" >> $GITHUB_STEP_SUMMARY @@ -411,7 +474,8 @@ jobs: - name: Download Build Artifacts uses: actions/download-artifact@v8 with: - name: build-files-${{ needs.prepare.outputs.version }} + pattern: build-files-${{ needs.prepare.outputs.version }}-* + merge-multiple: false - name: Setup Python uses: actions/setup-python@v6 @@ -422,8 +486,10 @@ jobs: uses: sigstore/gh-action-sigstore-python@v3.2.0 with: inputs: | - InkCanvasForClass.CE.${{ needs.prepare.outputs.version }}.zip - InkCanvasForClass.CE.${{ needs.prepare.outputs.version }}.Setup.exe + build-files-${{ needs.prepare.outputs.version }}-AnyCPU/*.zip + build-files-${{ needs.prepare.outputs.version }}-AnyCPU/*.exe + build-files-${{ needs.prepare.outputs.version }}-x86/*.zip + build-files-${{ needs.prepare.outputs.version }}-x86/*.exe release-signing-artifacts: true upload-signing-artifacts: true env: @@ -434,8 +500,8 @@ jobs: with: name: signed-files-${{ needs.prepare.outputs.version }} path: | - InkCanvasForClass.CE.${{ needs.prepare.outputs.version }}.zip.sigstore.json - InkCanvasForClass.CE.${{ needs.prepare.outputs.version }}.Setup.exe.sigstore.json + build-files-${{ needs.prepare.outputs.version }}-AnyCPU/*.sigstore.json + build-files-${{ needs.prepare.outputs.version }}-x86/*.sigstore.json release: needs: [prepare, build, sign] @@ -450,7 +516,8 @@ jobs: - name: Download Build Artifacts uses: actions/download-artifact@v8 with: - name: build-files-${{ needs.prepare.outputs.version }} + pattern: build-files-${{ needs.prepare.outputs.version }}-* + merge-multiple: true - name: Download Signed Artifacts (if exists) uses: actions/download-artifact@v8 @@ -480,23 +547,43 @@ jobs: fileTable+=$'| 文件名 | 大小 |\n' fileTable+=$'|--------|------|\n' - # ZIP 文件信息 - fileTable+=$'| InkCanvasForClass.CE.'"$version" - fileTable+=$'.zip | ${{ needs.build.outputs.zip_size }} bytes |\n' + # AnyCPU (x64) 架构文件 + if [ -f "InkCanvasForClass.CE.$version-x64.zip" ]; then + zipSize=$(stat -c%s "InkCanvasForClass.CE.$version-x64.zip") + fileTable+=$'| InkCanvasForClass.CE.'"$version"'-x64.zip | '"$zipSize"' bytes |\n' + fi - # 安装包文件信息 - installerSize="${{ needs.build.outputs.installer_size }}" - if [ -n "$installerSize" ]; then + if [ -f "InkCanvasForClass.CE.$version-x64.Setup.exe" ]; then + installerSize=$(stat -c%s "InkCanvasForClass.CE.$version-x64.Setup.exe") + fileTable+=$'| InkCanvasForClass.CE.'"$version"'-x64.Setup.exe | '"$installerSize"' bytes |\n' + fi + + if [ -f "InkCanvasForClass.CE.$version-x64.zip.sigstore.json" ]; then + sigstoreSize=$(stat -c%s "InkCanvasForClass.CE.$version-x64.zip.sigstore.json") + fileTable+=$'| InkCanvasForClass.CE.'"$version"'-x64.zip.sigstore.json | '"$sigstoreSize"' bytes |\n' + fi + + if [ -f "InkCanvasForClass.CE.$version-x64.Setup.exe.sigstore.json" ]; then + sigstoreSize=$(stat -c%s "InkCanvasForClass.CE.$version-x64.Setup.exe.sigstore.json") + fileTable+=$'| InkCanvasForClass.CE.'"$version"'-x64.Setup.exe.sigstore.json | '"$sigstoreSize"' bytes |\n' + fi + + # x86 架构文件 + if [ -f "InkCanvasForClass.CE.$version.zip" ]; then + zipSize=$(stat -c%s "InkCanvasForClass.CE.$version.zip") + fileTable+=$'| InkCanvasForClass.CE.'"$version"'.zip | '"$zipSize"' bytes |\n' + fi + + if [ -f "InkCanvasForClass.CE.$version.Setup.exe" ]; then + installerSize=$(stat -c%s "InkCanvasForClass.CE.$version.Setup.exe") fileTable+=$'| InkCanvasForClass.CE.'"$version"'.Setup.exe | '"$installerSize"' bytes |\n' fi - # 检查是否有签名文件 if [ -f "InkCanvasForClass.CE.$version.zip.sigstore.json" ]; then sigstoreSize=$(stat -c%s "InkCanvasForClass.CE.$version.zip.sigstore.json") fileTable+=$'| InkCanvasForClass.CE.'"$version"'.zip.sigstore.json | '"$sigstoreSize"' bytes |\n' fi - # 检查安装程序签名文件 if [ -f "InkCanvasForClass.CE.$version.Setup.exe.sigstore.json" ]; then sigstoreSize=$(stat -c%s "InkCanvasForClass.CE.$version.Setup.exe.sigstore.json") fileTable+=$'| InkCanvasForClass.CE.'"$version"'.Setup.exe.sigstore.json | '"$sigstoreSize"' bytes |\n' @@ -531,6 +618,10 @@ jobs: draft: ${{ github.event.inputs.draft || false }} prerelease: ${{ needs.prepare.outputs.is_prerelease == 'true' }} files: | + InkCanvasForClass.CE.${{ needs.prepare.outputs.version }}-x64.zip + InkCanvasForClass.CE.${{ needs.prepare.outputs.version }}-x64.Setup.exe + InkCanvasForClass.CE.${{ needs.prepare.outputs.version }}-x64.zip.sigstore.json + InkCanvasForClass.CE.${{ needs.prepare.outputs.version }}-x64.Setup.exe.sigstore.json InkCanvasForClass.CE.${{ needs.prepare.outputs.version }}.zip InkCanvasForClass.CE.${{ needs.prepare.outputs.version }}.Setup.exe InkCanvasForClass.CE.${{ needs.prepare.outputs.version }}.zip.sigstore.json @@ -541,7 +632,7 @@ jobs: post_release: needs: [prepare, release] - if: success() + if: success() && github.event.inputs.draft != 'true' runs-on: ubuntu-slim permissions: id-token: write @@ -550,7 +641,8 @@ jobs: - name: Download Build Artifacts uses: actions/download-artifact@v8 with: - name: build-files-${{ needs.prepare.outputs.version }} + pattern: build-files-${{ needs.prepare.outputs.version }}-* + merge-multiple: true - name: Get beta token uses: octo-sts/action@main @@ -580,18 +672,32 @@ jobs: cd $REPO_DIR IS_PRERELEASE="${{ needs.prepare.outputs.is_prerelease }}" VERSION="${{ needs.prepare.outputs.version }}" - ZIP_FILE="$GITHUB_WORKSPACE/InkCanvasForClass.CE.$VERSION.zip" + X64_ZIP_FILE="$GITHUB_WORKSPACE/InkCanvasForClass.CE.$VERSION-x64.zip" + X86_ZIP_FILE="$GITHUB_WORKSPACE/InkCanvasForClass.CE.$VERSION.zip" if [ "$IS_PRERELEASE" == "true" ]; then mkdir -p Beta - cp "$ZIP_FILE" Beta/ - git add Beta/InkCanvasForClass.CE.$VERSION.zip + if [ -f "$X64_ZIP_FILE" ]; then + cp "$X64_ZIP_FILE" Beta/ + git add Beta/InkCanvasForClass.CE.$VERSION-x64.zip + fi + if [ -f "$X86_ZIP_FILE" ]; then + cp "$X86_ZIP_FILE" Beta/ + git add Beta/InkCanvasForClass.CE.$VERSION.zip + fi git commit -m "Add $VERSION PreRelease" else mkdir -p Release Beta - cp "$ZIP_FILE" Release/ - cp "$ZIP_FILE" Beta/ - git add Release/InkCanvasForClass.CE.$VERSION.zip Beta/InkCanvasForClass.CE.$VERSION.zip + if [ -f "$X64_ZIP_FILE" ]; then + cp "$X64_ZIP_FILE" Release/ + cp "$X64_ZIP_FILE" Beta/ + git add Release/InkCanvasForClass.CE.$VERSION-x64.zip Beta/InkCanvasForClass.CE.$VERSION-x64.zip + fi + if [ -f "$X86_ZIP_FILE" ]; then + cp "$X86_ZIP_FILE" Release/ + cp "$X86_ZIP_FILE" Beta/ + git add Release/InkCanvasForClass.CE.$VERSION.zip Beta/InkCanvasForClass.CE.$VERSION.zip + fi git commit -m "Add $VERSION Release" fi git push origin main @@ -622,6 +728,7 @@ jobs: draft: false prerelease: ${{ needs.prepare.outputs.is_prerelease == 'true' }} files: | + InkCanvasForClass.CE.${{ needs.prepare.outputs.version }}-x64.zip InkCanvasForClass.CE.${{ needs.prepare.outputs.version }}.zip fail_on_unmatched_files: false repository: "InkCanvasForClass/community-beta" From 4ec3332808752fb66637218aef12d3d9bcece31c Mon Sep 17 00:00:00 2001 From: CJKmkp <2564608840@qq.com> Date: Sun, 29 Mar 2026 12:23:26 +0800 Subject: [PATCH 6/7] =?UTF-8?q?fix:=E8=87=AA=E5=8A=A8=E6=94=B6=E7=BA=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ink Canvas/MainWindow_cs/MW_AutoFold.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ink Canvas/MainWindow_cs/MW_AutoFold.cs b/Ink Canvas/MainWindow_cs/MW_AutoFold.cs index ba525641..0d7de4fe 100644 --- a/Ink Canvas/MainWindow_cs/MW_AutoFold.cs +++ b/Ink Canvas/MainWindow_cs/MW_AutoFold.cs @@ -593,7 +593,7 @@ namespace Ink_Canvas await UnFoldFloatingBar(null); await WaitUntilFloatingBarHideModeIdleAsync(TimeSpan.FromSeconds(15)).ConfigureAwait(false); await Task.Delay(200).ConfigureAwait(false); - await FoldFloatingBar(null).ConfigureAwait(false); + await FoldFloatingBar(new object()).ConfigureAwait(false); } catch (Exception ex) { From 79e03dc0d5825f7438efa84fe1ce6f34b8b394e9 Mon Sep 17 00:00:00 2001 From: doudou0720 <98651603+doudou0720@users.noreply.github.com> Date: Sun, 29 Mar 2026 22:31:16 +0800 Subject: [PATCH 7/7] =?UTF-8?q?fix(ci):=E5=B0=9D=E8=AF=95=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E9=80=9A=E7=94=A8=E6=8C=87=E4=BB=A4=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: doudou0720 <98651603+doudou0720@users.noreply.github.com> --- .github/workflows/prerelease.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index bc30a9cc..e891e6b1 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -483,7 +483,7 @@ jobs: python-version: '3.14' - name: Sign release artifacts with sigstore-python - uses: sigstore/gh-action-sigstore-python@v3.2.0 + uses: sigstore/gh-action-sigstore-python@v3.3.0 with: inputs: | build-files-${{ needs.prepare.outputs.version }}-AnyCPU/*.zip @@ -549,43 +549,43 @@ jobs: # AnyCPU (x64) 架构文件 if [ -f "InkCanvasForClass.CE.$version-x64.zip" ]; then - zipSize=$(stat -c%s "InkCanvasForClass.CE.$version-x64.zip") + zipSize=$(wc -c < "InkCanvasForClass.CE.$version-x64.zip") fileTable+=$'| InkCanvasForClass.CE.'"$version"'-x64.zip | '"$zipSize"' bytes |\n' fi if [ -f "InkCanvasForClass.CE.$version-x64.Setup.exe" ]; then - installerSize=$(stat -c%s "InkCanvasForClass.CE.$version-x64.Setup.exe") + installerSize=$(wc -c < "InkCanvasForClass.CE.$version-x64.Setup.exe") fileTable+=$'| InkCanvasForClass.CE.'"$version"'-x64.Setup.exe | '"$installerSize"' bytes |\n' fi if [ -f "InkCanvasForClass.CE.$version-x64.zip.sigstore.json" ]; then - sigstoreSize=$(stat -c%s "InkCanvasForClass.CE.$version-x64.zip.sigstore.json") + sigstoreSize=$(wc -c < "InkCanvasForClass.CE.$version-x64.zip.sigstore.json") fileTable+=$'| InkCanvasForClass.CE.'"$version"'-x64.zip.sigstore.json | '"$sigstoreSize"' bytes |\n' fi if [ -f "InkCanvasForClass.CE.$version-x64.Setup.exe.sigstore.json" ]; then - sigstoreSize=$(stat -c%s "InkCanvasForClass.CE.$version-x64.Setup.exe.sigstore.json") + sigstoreSize=$(wc -c < "InkCanvasForClass.CE.$version-x64.Setup.exe.sigstore.json") fileTable+=$'| InkCanvasForClass.CE.'"$version"'-x64.Setup.exe.sigstore.json | '"$sigstoreSize"' bytes |\n' fi # x86 架构文件 if [ -f "InkCanvasForClass.CE.$version.zip" ]; then - zipSize=$(stat -c%s "InkCanvasForClass.CE.$version.zip") + zipSize=$(wc -c < "InkCanvasForClass.CE.$version.zip") fileTable+=$'| InkCanvasForClass.CE.'"$version"'.zip | '"$zipSize"' bytes |\n' fi if [ -f "InkCanvasForClass.CE.$version.Setup.exe" ]; then - installerSize=$(stat -c%s "InkCanvasForClass.CE.$version.Setup.exe") + installerSize=$(wc -c < "InkCanvasForClass.CE.$version.Setup.exe") fileTable+=$'| InkCanvasForClass.CE.'"$version"'.Setup.exe | '"$installerSize"' bytes |\n' fi if [ -f "InkCanvasForClass.CE.$version.zip.sigstore.json" ]; then - sigstoreSize=$(stat -c%s "InkCanvasForClass.CE.$version.zip.sigstore.json") + sigstoreSize=$(wc -c < "InkCanvasForClass.CE.$version.zip.sigstore.json") fileTable+=$'| InkCanvasForClass.CE.'"$version"'.zip.sigstore.json | '"$sigstoreSize"' bytes |\n' fi if [ -f "InkCanvasForClass.CE.$version.Setup.exe.sigstore.json" ]; then - sigstoreSize=$(stat -c%s "InkCanvasForClass.CE.$version.Setup.exe.sigstore.json") + sigstoreSize=$(wc -c < "InkCanvasForClass.CE.$version.Setup.exe.sigstore.json") fileTable+=$'| InkCanvasForClass.CE.'"$version"'.Setup.exe.sigstore.json | '"$sigstoreSize"' bytes |\n' fi