diff --git a/.github/workflows/build-on-Windows-ARM64.yml b/.github/workflows/build-on-Windows-Arm64.yml similarity index 70% rename from .github/workflows/build-on-Windows-ARM64.yml rename to .github/workflows/build-on-Windows-Arm64.yml index bddc20f3..333d2393 100644 --- a/.github/workflows/build-on-Windows-ARM64.yml +++ b/.github/workflows/build-on-Windows-Arm64.yml @@ -1,15 +1,15 @@ # --------------------------------------------------------------- -# Workflow File : build-on-Windows-ARM64.yml +# Workflow File : build-on-Windows-Arm64.yml # File Authors : NewbieXvwu # Contributors : Nul None # | # Created On : <2026-07-21> -# Last Modified : <2026-07-21> +# Last Modified : <2026-07-22> # -# Build chsrc on Windows (ARM64/WoA) and upload it to GitHub: the 'pre' release +# Build chsrc on Windows (Arm64/WoA) and upload it to GitHub: the 'pre' release # --------------------------------------------------------------- -name: 构建于 Windows ARM64 +name: 构建于 Windows Arm64 on: push: @@ -17,7 +17,7 @@ on: jobs: build-and-upload: - # windows-11-arm 为原生 WoA (Windows on ARM) runner,已 GA + # windows-11-arm 为原生 WoA (Windows on Arm) runner,已 GA runs-on: windows-11-arm defaults: run: @@ -31,17 +31,17 @@ jobs: - name: 安装 Clang (CLANGARM64) uses: msys2/setup-msys2@v2 with: - # CLANGARM64 提供原生 AArch64 的 clang 工具链 + # CLANGARM64 提供原生 Arm64 的 clang 工具链 msystem: CLANGARM64 update: true install: | mingw-w64-clang-aarch64-clang mingw-w64-clang-aarch64-make - - name: 为 arm64 (AArch64) 构建 + - name: 为 Arm64 构建 run: | mingw32-make.exe build-in-ci-release-mode - mv chsrc-ci-release.exe chsrc-aarch64-windows.exe + mv chsrc-ci-release.exe chsrc-arm64-windows.exe - name: List files run: ls *.exe @@ -52,4 +52,4 @@ jobs: with: tag_name: pre files: | - chsrc-aarch64-windows.exe + chsrc-arm64-windows.exe diff --git a/README.md b/README.md index 6f2be9e9..de13f6f9 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,10 @@ ! Doc Authors : @ccmywish ! Contributors : @Mikachu2333 ! | @BingChunMoLi + ! | @NewbieXvwu ! | ! Created On : <2023-12-28> - ! Last Modified : <2026-02-24> + ! Last Modified : <2026-07-22> ! ---------------------------------------------------------- -->
@@ -193,8 +194,8 @@ curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-x64-windo # x86 curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-x86-windows.exe -o chsrc.exe -# arm64/aarch64 (WoA, Windows on ARM) -curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-aarch64-windows.exe -o chsrc.exe +# Arm64 (WoA, Windows on Arm) +curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-arm64-windows.exe -o chsrc.exe ``` diff --git a/tool/download-pre-on-GitHub.ps1 b/tool/download-pre-on-GitHub.ps1 index 06e2757a..63a00ca4 100644 --- a/tool/download-pre-on-GitHub.ps1 +++ b/tool/download-pre-on-GitHub.ps1 @@ -3,8 +3,9 @@ # --------------------------------------------------------------- # File Name : download-pre-on-GitHub.ps1 # File Authors : Aoran Zeng +# Contributors : NewbieXvwu # Created On : <2023-09-21> -# Last Modified : <2025-08-07> +# Last Modified : <2026-07-22> # # Download all files from the `pre` release on GitHub: # https://github.com/RubyMetric/chsrc/releases/tag/pre @@ -20,6 +21,7 @@ $destination = (Resolve-Path $destination).Path $names = @( 'chsrc-x64-windows.exe' 'chsrc-x86-windows.exe' + 'chsrc-arm64-windows.exe' 'chsrc-aarch64-macos' 'chsrc-x64-macos' diff --git a/tool/installer.ps1 b/tool/installer.ps1 index d92c8059..1af5bf2f 100644 --- a/tool/installer.ps1 +++ b/tool/installer.ps1 @@ -9,7 +9,7 @@ # | NewbieXvwu # | # Created On : <2024-10-26> -# Last Modified : <2026-07-21> +# Last Modified : <2026-07-22> # # chsrc installer for Windows # --------------------------------------------------------------- @@ -156,9 +156,9 @@ function Set_URL { $script:arch = "x86" } } - 12 { $script:arch = "aarch64" } + 12 { $script:arch = "arm64" } default { - Output_Error "Unsupported architecture '$cpuArchitecture'. Only x86, x64 or ARM64 architectures are supported." + Output_Error "Unsupported architecture '$cpuArchitecture'. Only x86, x64 or Arm64 architectures are supported." } } Output_Info "Get my CPU architecture: $script:arch"