From b9d17e27b1881f4d272341f3a95a3e49dd18c4be Mon Sep 17 00:00:00 2001 From: Axiaobo <116439045+Axiaobo7788@users.noreply.github.com> Date: Tue, 28 Oct 2025 10:45:15 +0800 Subject: [PATCH] fix #1718 (#1723) --- .github/workflows/linux_arm64.yml | 2 ++ lib/plugin/pl_player/controller.dart | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linux_arm64.yml b/.github/workflows/linux_arm64.yml index 5c8479a2..5d7ab83f 100644 --- a/.github/workflows/linux_arm64.yml +++ b/.github/workflows/linux_arm64.yml @@ -76,6 +76,8 @@ jobs: printf "修改控制文件...\n" # 替换版本号 sed -i "2s/version_need_change/${{ env.version }}/g" DEBIAN/control + # 替换架构为 arm64 + sed -i "3s/Architecture: amd64/Architecture: arm64/g" DEBIAN/control # 计算安装大小并替换 SIZE_KB=$(du -s -b --apparent-size . | awk '{print int($1)}') SIZE_KB=$(($SIZE_KB - $(du -s -b --apparent-size DEBIAN | awk '{print int($1)}'))) diff --git a/lib/plugin/pl_player/controller.dart b/lib/plugin/pl_player/controller.dart index 5224e09c..e672607d 100644 --- a/lib/plugin/pl_player/controller.dart +++ b/lib/plugin/pl_player/controller.dart @@ -1916,4 +1916,4 @@ class PlPlayerController { } }); } -} +} \ No newline at end of file