try fixing imagamagick issues

This commit is contained in:
Bryan Gerlach
2025-02-26 16:10:57 -06:00
parent 1b56fa5833
commit 8b8aff445a

View File

@@ -516,8 +516,8 @@ jobs:
if [[ "${{ inputs.iconlink }}" != "false" ]]; then if [[ "${{ inputs.iconlink }}" != "false" ]]; then
mv ./flutter/assets/icon.svg ./flutter/assets/icon.svg.bak mv ./flutter/assets/icon.svg ./flutter/assets/icon.svg.bak
convert ./res/icon.png ./flutter/assets/icon.svg convert ./res/icon.png ./flutter/assets/icon.svg
convert ./res/128x128.png -resize 200% ./flutter/assets/128x128@2x.png convert ./res/128x128.png -resize 200% ./flutter/assets/128x128@2x.png || true
convert ./res/icon.png ./res/scalable.svg cp ./flutter/assets/icon.svg ./res/scalable.svg
fi fi
# build flutter # build flutter
pushd flutter pushd flutter
@@ -533,8 +533,8 @@ jobs:
if [[ "${{ inputs.iconlink }}" != "false" ]]; then if [[ "${{ inputs.iconlink }}" != "false" ]]; then
mv ./flutter/assets/icon.svg ./flutter/assets/icon.svg.bak mv ./flutter/assets/icon.svg ./flutter/assets/icon.svg.bak
convert ./res/icon.png ./flutter/assets/icon.svg convert ./res/icon.png ./flutter/assets/icon.svg
convert ./res/128x128.png -resize 200% ./flutter/assets/128x128@2x.png convert ./res/128x128.png -resize 200% ./flutter/assets/128x128@2x.png || true
convert ./res/icon.png ./res/scalable.svg cp ./flutter/assets/icon.svg ./res/scalable.svg
fi fi
# build flutter # build flutter
pushd flutter pushd flutter
@@ -550,8 +550,8 @@ jobs:
if [[ "${{ inputs.iconlink }}" != "false" ]]; then if [[ "${{ inputs.iconlink }}" != "false" ]]; then
mv ./flutter/assets/icon.svg ./flutter/assets/icon.svg.bak mv ./flutter/assets/icon.svg ./flutter/assets/icon.svg.bak
convert ./res/icon.png ./flutter/assets/icon.svg convert ./res/icon.png ./flutter/assets/icon.svg
convert ./res/128x128.png -resize 200% ./flutter/assets/128x128@2x.png convert ./res/128x128.png -resize 200% ./flutter/assets/128x128@2x.png || true
convert ./res/icon.png ./res/scalable.svg cp ./flutter/assets/icon.svg ./res/scalable.svg
fi fi
# build flutter # build flutter
pushd flutter pushd flutter