Merge pull request #2179 from PhilippC/makefile-signing

allow to sign apk using a specific keystore
This commit is contained in:
PhilippC
2023-01-04 23:04:19 +01:00
committed by GitHub

View File

@@ -126,6 +126,10 @@ else
$(warning Flavor environment variable not set.)
endif
ifneq ($(KeyStore),)
MSBUILD_PARAM += -p:AndroidKeyStore=True -p:AndroidSigningKeyStore="$(KeyStore)" -p:AndroidSigningStorePass=env:MyAndroidSigningStorePass -p:AndroidSigningKeyPass=env:MyAndroidSigningKeyPass
endif
ifeq ($(detected_OS),Windows)
to_win_path=$(subst /,\,$(1))
to_posix_path=$(subst \,/,$(1))