@@ -286,17 +286,6 @@ jobs:
286
286
prefix-key : rustdesk-lib-cache-android # TODO: drop '-android' part after caches are invalidated
287
287
key : ${{ matrix.job.target }}
288
288
289
- - name : fix android for flutter 3.13
290
- if : $${{ env.ANDROID_FLUTTER_VERSION == '3.13.9' }}
291
- run : |
292
- cd flutter
293
- sed -i 's/uni_links_desktop/#uni_links_desktop/g' pubspec.yaml
294
- sed -i 's/extended_text: .*/extended_text: 11.1.0/' pubspec.yaml
295
- flutter pub get
296
- cd lib
297
- find . | grep dart | xargs sed -i 's/textScaler: TextScaler.linear(\(.*\)),/textScaleFactor: \1,/g'
298
- cd ../..
299
-
300
289
# ##########################################################echo "${{ inputs.iconbase64 }}" | base64 -d > ./res/icon.png
301
290
- name : icon stuff
302
291
if : ${{ inputs.iconlink != 'false' }}
@@ -466,7 +455,7 @@ jobs:
466
455
convert ./res/icon.png ./res/scalable.svg
467
456
fi
468
457
# build flutter
469
- pushd flutter && sed -i -e 's/extended_text: 14.0.0/extended_text: 13.0.0/g' pubspec.yaml && flutter pub get
458
+ pushd flutter
470
459
flutter build apk "--${{ matrix.job.reltype }}" --target-platform android-arm64 --split-per-abi
471
460
mv build/app/outputs/flutter-apk/app-arm64-v8a-${{ matrix.job.reltype }}.apk ../rustdesk-${{ env.VERSION }}-${{ matrix.job.arch }}${{ matrix.job.suffix }}.apk
472
461
;;
@@ -483,7 +472,7 @@ jobs:
483
472
convert ./res/icon.png ./res/scalable.svg
484
473
fi
485
474
# build flutter
486
- pushd flutter && sed -i -e 's/extended_text: 14.0.0/extended_text: 13.0.0/g' pubspec.yaml && flutter pub get
475
+ pushd flutter
487
476
flutter build apk "--${{ matrix.job.reltype }}" --target-platform android-arm --split-per-abi
488
477
mv build/app/outputs/flutter-apk/app-armeabi-v7a-${{ matrix.job.reltype }}.apk ../rustdesk-${{ env.VERSION }}-${{ matrix.job.arch }}${{ matrix.job.suffix }}.apk
489
478
;;
@@ -500,7 +489,7 @@ jobs:
500
489
convert ./res/icon.png ./res/scalable.svg
501
490
fi
502
491
# build flutter
503
- pushd flutter && sed -i -e 's/extended_text: 14.0.0/extended_text: 13.0.0/g' pubspec.yaml && flutter pub get
492
+ pushd flutter
504
493
flutter build apk "--${{ matrix.job.reltype }}" --target-platform android-x64 --split-per-abi
505
494
mv build/app/outputs/flutter-apk/app-x86_64-${{ matrix.job.reltype }}.apk ../rustdesk-${{ env.VERSION }}-${{ matrix.job.arch }}${{ matrix.job.suffix }}.apk
506
495
;;
@@ -517,7 +506,7 @@ jobs:
517
506
convert ./res/icon.png ./res/scalable.svg
518
507
fi
519
508
# build flutter
520
- pushd flutter && sed -i -e 's/extended_text: 14.0.0/extended_text: 13.0.0/g' pubspec.yaml && flutter pub get
509
+ pushd flutter
521
510
flutter build apk "--${{ matrix.job.reltype }}" --target-platform android-x86 --split-per-abi
522
511
mv build/app/outputs/flutter-apk/app-x86-${{ matrix.job.reltype }}.apk ../rustdesk-${{ env.VERSION }}-${{ matrix.job.arch }}${{ matrix.job.suffix }}.apk
523
512
;;
0 commit comments