mirror of
https://github.com/bryangerlach/rdgen.git
synced 2025-11-29 00:23:27 +00:00
try fixing imagamagick issues
This commit is contained in:
10
.github/workflows/generator-android.yml
vendored
10
.github/workflows/generator-android.yml
vendored
@@ -483,9 +483,9 @@ jobs:
|
||||
env:
|
||||
JAVA_HOME: /usr/lib/jvm/java-17-openjdk-amd64
|
||||
run: |
|
||||
echo "MAGICK_MEMORY_LIMIT=512MiB" >> $GITHUB_ENV
|
||||
echo "MAGICK_MAP_LIMIT=256MiB" >> $GITHUB_ENV
|
||||
echo "MAGICK_DISK_LIMIT=1GiB" >> $GITHUB_ENV
|
||||
echo "MAGICK_MEMORY_LIMIT=512MiB" >> $GITHUB_ENV || true
|
||||
echo "MAGICK_MAP_LIMIT=256MiB" >> $GITHUB_ENV || true
|
||||
echo "MAGICK_DISK_LIMIT=1GiB" >> $GITHUB_ENV || true
|
||||
export PATH=/usr/lib/jvm/java-17-openjdk-amd64/bin:$PATH
|
||||
# temporary use debug sign config
|
||||
sed -i "s/signingConfigs.release/signingConfigs.debug/g" ./flutter/android/app/build.gradle
|
||||
@@ -499,8 +499,8 @@ jobs:
|
||||
if [[ "${{ inputs.iconlink }}" != "false" ]]; then
|
||||
mv ./flutter/assets/icon.svg ./flutter/assets/icon.svg.bak
|
||||
convert ./res/icon.png ./flutter/assets/icon.svg
|
||||
convert ./res/128x128.png -resize 200% ./flutter/assets/128x128@2x.png
|
||||
convert ./res/icon.png ./res/scalable.svg
|
||||
convert ./res/128x128.png -resize 200% ./flutter/assets/128x128@2x.png || true
|
||||
cp ./flutter/assets/icon.svg ./res/scalable.svg
|
||||
fi
|
||||
# build flutter
|
||||
pushd flutter
|
||||
|
||||
10
.github/workflows/generator-linux.yml
vendored
10
.github/workflows/generator-linux.yml
vendored
@@ -528,13 +528,13 @@ jobs:
|
||||
wget -O ./flutter/assets/logo.png ${{ fromJson(inputs.logolink).url }}/get_png?filename=${{ fromJson(inputs.logolink).file }}"&"uuid=${{ fromJson(inputs.logolink).uuid }}
|
||||
fi
|
||||
if [[ "${{ inputs.iconlink }}" != "false" ]]; then
|
||||
echo "MAGICK_MEMORY_LIMIT=512MiB" >> $GITHUB_ENV
|
||||
echo "MAGICK_MAP_LIMIT=256MiB" >> $GITHUB_ENV
|
||||
echo "MAGICK_DISK_LIMIT=1GiB" >> $GITHUB_ENV
|
||||
echo "MAGICK_MEMORY_LIMIT=512MiB" >> $GITHUB_ENV || true
|
||||
echo "MAGICK_MAP_LIMIT=256MiB" >> $GITHUB_ENV || true
|
||||
echo "MAGICK_DISK_LIMIT=1GiB" >> $GITHUB_ENV || true
|
||||
mv ./flutter/assets/icon.svg ./flutter/assets/icon.svg.bak
|
||||
convert ./res/icon.png ./flutter/assets/icon.svg
|
||||
convert ./res/128x128.png -resize 200% ./flutter/assets/128x128@2x.png
|
||||
convert ./res/icon.png ./res/scalable.svg
|
||||
convert ./res/128x128.png -resize 200% ./flutter/assets/128x128@2x.png || true
|
||||
cp ./flutter/assets/icon.svg ./res/scalable.svg
|
||||
pushd ./flutter
|
||||
flutter pub get
|
||||
dart run flutter_launcher_icons
|
||||
|
||||
Reference in New Issue
Block a user