forked from shaytan/rdgen
try fixing imagamagick issues
This commit is contained in:
12
.github/workflows/generator-android.yml
vendored
12
.github/workflows/generator-android.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user