diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cadfbee..9df25df 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -78,6 +78,8 @@ jobs: - name: Generate Android Icons run: | + # 安装 ImageMagick + sudo apt-get update && sudo apt-get install -y imagemagick # 使用 ImageMagick 生成各尺寸图标 convert logo.png -resize 48x48 android/app/src/main/res/mipmap-mdpi/ic_launcher.png convert logo.png -resize 48x48 android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png