-
-
Notifications
You must be signed in to change notification settings - Fork 5
Building and Signing
CaptainDario edited this page Mar 14, 2023
·
12 revisions
To build a .exe
flutter build windows --releaseTo build a MSIX
flutter pub run msix:create To build a MSIX (for publishing to the Microsoft Store) without rebuilding the .exe
flutter pub run msix:create --build-windows=false --storeBuild can be found at: DaKanji-Application\build\windows\runner\
To build the app as an app bundle just invoke
flutter build appbundleTo obfuscate, save the symbol files and build the app.
flutter build appbundle --obfuscate --split-debug-info=obfuscate_debug_infoTo build a fat apk:
flutter build apk --obfuscate --split-debug-info=obfuscate_debug_infoand platform dependent, smaller apk's:
flutter build apk --obfuscate --split-debug-info=obfuscate_debug_info --split-per-abiBuild can be found at: DaKanji-Application\build\app\outputs
The key.properties file should be placed in the android folder.
And the DaKanjiRecognizer.jks file should be placed in the keys folder
There is no snapcraft.yaml provided but it can be generated by running
python .github/workflows/create_snapcraft_yaml.pyA snap can then be built by
snapcraft --use-lxdClean snapcraft built
snapcraft clean --use-lxdUn-/Install snap for testing
snapcraft install --devmode