icône: manette de jeu (flutter_launcher_icons) au lieu du logo Flutter
Build APK / build (push) Successful in 3m42s
Build APK / build (push) Successful in 3m42s
Ajoute flutter_launcher_icons (manette blanche sur fond indigo, adaptatif + legacy) et l'étape CI de génération après flutter create/pub get. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
30786f9706
commit
a582bbee29
@@ -28,6 +28,7 @@ jobs:
|
||||
flutter create --platforms=android --org nfteam --project-name gamemanager .
|
||||
python3 tool/patch_android.py
|
||||
flutter pub get
|
||||
dart run flutter_launcher_icons
|
||||
flutter build apk --release --build-name="${NAME}" --build-number="${RUN}"
|
||||
cp build/app/outputs/flutter-apk/app-release.apk gamemanager.apk
|
||||
printf '{"version":"1.0.%s","version_code":%s,"notes":"Build CI #%s"}' "${RUN}" "${RUN}" "${RUN}" > version.json
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
@@ -23,6 +23,17 @@ dependencies:
|
||||
|
||||
dev_dependencies:
|
||||
flutter_lints: ^5.0.0
|
||||
flutter_launcher_icons: ^0.14.1
|
||||
|
||||
# Icône de lanceur (générée en CI par flutter_launcher_icons après `flutter create`).
|
||||
# Manette blanche sur fond indigo ; adaptatif Android 8+ + PNG legacy.
|
||||
flutter_launcher_icons:
|
||||
android: true
|
||||
ios: false
|
||||
image_path: "assets/brand/gm-legacy.png"
|
||||
adaptive_icon_background: "#4F46E5"
|
||||
adaptive_icon_foreground: "assets/brand/gm-foreground.png"
|
||||
min_sdk_android: 21
|
||||
|
||||
flutter:
|
||||
uses-material-design: true
|
||||
|
||||
Reference in New Issue
Block a user