[Android] make sure build is signed with sha1

This commit is contained in:
zilmar 2016-09-17 09:18:28 +10:00
parent f3eed98610
commit 861634d343
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ IF NOT DEFINED project64_cert_keystore ( exit /B 0 )
IF NOT DEFINED project64_cert_password ( exit /B 0 ) IF NOT DEFINED project64_cert_password ( exit /B 0 )
:: Sign the APK :: Sign the APK
jarsigner -verbose -tsa http://timestamp.digicert.com -keystore "%project64_cert_keystore%" -storepass %project64_cert_password% -keypass %project64_cert_password% "%base_dir%\Android\bin\Project64-release-unsigned.apk" project64 jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -tsa http://timestamp.digicert.com -keystore "%project64_cert_keystore%" -storepass %project64_cert_password% -keypass %project64_cert_password% "%base_dir%\Android\bin\Project64-release-unsigned.apk" project64
:: Align the APK :: Align the APK
zipalign -v 4 "%base_dir%\Android\bin\Project64-release-unsigned.apk" "%base_dir%\Package\Project64%VersionName%.apk" zipalign -v 4 "%base_dir%\Android\bin\Project64-release-unsigned.apk" "%base_dir%\Package\Project64%VersionName%.apk"