|
|
8 月之前 | |
|---|---|---|
| .. | ||
| README.md | 8 月之前 | |
| build_app.sh | 8 月之前 | |
| compress_audio.sh | 9 月之前 | |
| convert_audio.sh | 8 月之前 | |
This directory contains shell scripts for automating common development tasks for the ZenTap project.
convert_audio.shConverts audio files to the proper format and specifications for the ZenTap game.
build_app.shBuilds APK and AAB files for Android in debug and release modes.
sudo apt install ffmpegbrew install ffmpeg./scripts/convert_audio.sh
assets/audio/source/assets/audio/README.md:
assets/audio/source/assets/audio/menu/assets/audio/ingame/assets/audio/compressed/bubble_pop.mp3 - Primary bubble pop sound effectbubble_pop_alt.mp3 - Alternative bubble pop sound effectambient_background.mp3 - Legacy background musicmenu_default.mp3 - Default theme menu musicmenu_spring.mp3 - Spring theme menu musicmenu_summer.mp3 - Summer theme menu musicmenu_autumn.mp3 - Autumn theme menu musicmenu_winter.mp3 - Winter theme menu musicingame_default_001.mp3 - Default theme gameplay musicingame_spring_001.mp3 - Spring theme gameplay musicingame_summer_001.mp3 - Summer theme gameplay musicingame_autumn_001.mp3 - Autumn theme gameplay musicingame_winter_001.mp3 - Winter theme gameplay music (track 1)ingame_winter_002.mp3 - Winter theme gameplay music (track 2)WAV, MP3, OGG, FLAC, M4A
flutter doctor to ensure all dependencies are satisfied./scripts/build_app.sh
# Debug only
./scripts/build_app.sh --debug
# Release only
./scripts/build_app.sh --release
# APK files only
./scripts/build_app.sh --apk-only
# AAB files only
./scripts/build_app.sh --aab-only
# Clean build before building
./scripts/build_app.sh --clean --all
./scripts/build_app.sh --help
| Variant | Description | Use Case |
|---|---|---|
| Debug APK | Development build with debugging symbols | Testing on devices, debugging |
| Release APK | Optimized build for production | Side-loading, testing stores |
| Debug AAB | Development Android App Bundle | Play Console internal testing |
| Release AAB | Production Android App Bundle | Google Play Store release |
Built files are saved in build/outputs/ with timestamps:
build/outputs/apk/build/outputs/bundle/ZenTap_debug_YYYYMMDD_HHMMSS.apkZenTap_release_YYYYMMDD_HHMMSS.aab# Install via ADB
adb install build/outputs/apk/ZenTap_release_*.apk
# Or transfer to device and install manually
assets/audio/source/flutter doctor and follow the suggestionsflutter clean and try building again# Check Flutter installation
flutter doctor
# Clean Flutter project
flutter clean && flutter pub get
# Run app in debug mode
flutter run
# Check connected devices
flutter devices
Both scripts follow the fSociety.hu color scheme defined in ../SCHEME_COLORS.md:
When modifying these scripts: