Merge pull request #297 from PojavLauncherTeam/app-signing

App signing
This commit is contained in:
LegacyGamerHD 2020-09-03 16:06:55 +02:00 committed by GitHub
commit 1d605bd634
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 2 deletions

View File

@ -46,9 +46,9 @@ script:
- ./gradlew test
deploy:
provider: releases
provider: release
api-key: $GITHUB_API_KEY
file: $TRAVIS_BUILD_DIR/app/build/outputs/apk/debug/app-debug.apk
file: $TRAVIS_BUILD_DIR/app/build/outputs/apk/release/app-release.apk
skip_cleanup: true
name: PojavLauncher_DevBuild-$TRAVIS_COMMIT
body: Automatic build of PojavLauncher from the latest source commit ($TRAVIS_COMMIT) built by Travis CI on $(date +'%F %T %Z').

4
keystore.properties Normal file
View File

@ -0,0 +1,4 @@
storePassword=store-pass
keyPassword=key-pass
keyAlias=alias
storeFile=test-keystore.jks

3
test-keystore.jks Normal file
View File

@ -0,0 +1,3 @@
keytool -genkey -keystore test-keystore.jks -keyalg RSA -keysize 2048 -validity 10000 -alias alias -storepass store-pass -keypass key-pass -dname "CN=a" -noprompt
# keytool is inside "[...]/Android/Android Studio/jre/bin" and "$JAVA_HOME/bin"
# there are many variations of this command that also generate a valid test-keystore.jks