bug fix for apks not named "base.apk"
This commit is contained in:
parent
e13a9f11bd
commit
2405f895e2
|
@ -17,7 +17,6 @@ import java.security.cert.X509Certificate;
|
|||
public class SignApk {
|
||||
|
||||
private static final String TAG = "SignApk";
|
||||
private static final String APK_LOCATION = Environment.getExternalStorageDirectory() + "/SMAPI Installer/base.apk_patched.apk";
|
||||
private static final String KEYSTORE_LOCATION = Environment.getExternalStorageDirectory() + "/SMAPI Installer/ApkFiles/debug.keystore";
|
||||
private static final String KEYSTORE_PASSWORD = "android";
|
||||
|
||||
|
@ -28,7 +27,7 @@ public class SignApk {
|
|||
public void commitSignApk()
|
||||
{
|
||||
try {
|
||||
String inputFile = APK_LOCATION;
|
||||
String inputFile = Environment.getExternalStorageDirectory() + "/SMAPI Installer/" + ApkExtractor.sourceApkFilename + "_patched.apk";
|
||||
String outputFile = Environment.getExternalStorageDirectory() + "/SMAPI Installer/base_signed.apk";
|
||||
|
||||
KeyStore keyStore = KeyStoreFileManager.loadKeyStore(KEYSTORE_LOCATION,KEYSTORE_PASSWORD.toCharArray());
|
||||
|
|
Loading…
Reference in New Issue