Aggiorna README.md
Some checks are pending
Quality check / Flutter analysis (push) Waiting to run
Quality check / CodeQL analysis (java-kotlin) (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run

This commit is contained in:
Fabio 2025-06-11 16:40:17 +08:00
parent 99c9f85eaf
commit a461e2c55f

View file

@ -115,14 +115,14 @@ Some users have expressed the wish to financially support the project. Thanks!
Before running or building the app, update the dependencies for the desired flavor: Before running or building the app, update the dependencies for the desired flavor:
``` ```
# scripts/apply_flavor_play.sh scripts/apply_flavor_play.sh
``` ```
To build the project, create a file named `<app dir>/android/key.properties`. It should contain a reference to a keystore for app signing, and other necessary credentials. See [key_template.properties](https://github.com/deckerst/aves/blob/develop/android/key_template.properties) for the expected keys. To build the project, create a file named `<app dir>/android/key.properties`. It should contain a reference to a keystore for app signing, and other necessary credentials. See [key_template.properties](https://github.com/deckerst/aves/blob/develop/android/key_template.properties) for the expected keys.
# To run the app: # To run the app:
``` ```
# ./flutterw run -t lib/main_play.dart --flavor play ./flutterw run -t lib/main_play.dart --flavor play
``` ```
#To build the app: #To build the app:
@ -132,17 +132,16 @@ dove YOUR_ALIAS_NAME è il tuo unico alias name
e YOUR_ALIAS_PWD è la password del tuo alias e YOUR_ALIAS_PWD è la password del tuo alias
``` ```
#
keytool -genkey -v -keystore file.keystore -alias YOUR_ALIAS_NAME -storepass YOUR_ALIAS_PWD -keypass YOUR_ALIAS_PWD -keyalg RSA -validity 36500 keytool -genkey -v -keystore file.keystore -alias YOUR_ALIAS_NAME -storepass YOUR_ALIAS_PWD -keypass YOUR_ALIAS_PWD -keyalg RSA -validity 36500
``` ```
in questo caso ho inserito in questo caso ho inserito
``` ```
# cd android cd android
# keytool -genkey -v -keystore file.keystore -alias FabioMich66 -storepass Master66 -keypass Master66 -keyalg RSA -validity 36500 keytool -genkey -v -keystore file.keystore -alias FabioMich66 -storepass Master66 -keypass Master66 -keyalg RSA -validity 36500
``` ```
compilare il file `<app dir>/android/key.properties` compilare il file `<app dir>/android/key.properties`
``` ```
# nano android/key.properties nano android/key.properties
``` ```
questi i miei dati utilizzando il format key_template.properties questi i miei dati utilizzando il format key_template.properties
``` ```
@ -154,7 +153,7 @@ googleApiKey=<GOOGLE_API_KEY>
``` ```
infine compilare l'apk infine compilare l'apk
``` ```
# ./flutterw build apk -t lib/main_play.dart --flavor play ./flutterw build apk -t lib/main_play.dart --flavor play
``` ```
[Version badge]: https://img.shields.io/github/v/release/deckerst/aves?include_prereleases&sort=semver [Version badge]: https://img.shields.io/github/v/release/deckerst/aves?include_prereleases&sort=semver