Skip to content

Commit

Permalink
Bump version to v4.
Browse files Browse the repository at this point in the history
  • Loading branch information
ruiaraujo committed Nov 5, 2017
1 parent 812233f commit b126f81
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 56 deletions.
2 changes: 1 addition & 1 deletion android/aFileChooser/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ android {

buildTypes {
release {
minifyEnabled true
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
Expand Down
36 changes: 3 additions & 33 deletions android/routerKeygen/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,37 +11,16 @@ android {

defaultConfig {
applicationId "org.exobel.routerkeygen"
versionCode 1
versionCode 40
versionName "4.0.0"
minSdkVersion 16
targetSdkVersion 27
multiDexEnabled false

}
splits {

// Configures multiple APKs based on ABI.
abi {

// Enables building multiple APKs per ABI.
enable true

// By default all ABIs are included, so use reset() and include to specify that we only
// want APKs for x86, armeabi-v7a, and mips.

// Resets the list of ABIs that Gradle should create APKs for to none.
reset()

// Specifies a list of ABIs that Gradle should create APKs for.
include "x86", "armeabi", "arm64-v8a"

// Specifies that we do not want to also generate a universal APK that includes all ABIs.
universalApk false
}
}

buildTypes {
release {
minifyEnabled true
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
Expand All @@ -50,15 +29,6 @@ android {
github {
dimension "tier"
applicationId "org.exobel.routerkeygen"

splits {
// Configures multiple APKs based on ABI.
abi {
// Enables building multiple APKs per ABI.
enable false

}
}
}
googleplay {
dimension "tier"
Expand Down
4 changes: 1 addition & 3 deletions android/routerKeygen/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.exobel.routerkeygen"
android:installLocation="auto"
android:versionCode="39"
android:versionName="3.15.0">
android:installLocation="auto">

<supports-screens
android:anyDensity="true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ public class Preferences extends PreferenceActivity {
public final static String GOOGLE_PLAY_DOWNLOADER = "org.doublecheck.wifiscanner";

public static final String PUB_DOWNLOAD = "https://github.com/routerkeygen/thomsonDicGenerator/releases/download/v3/RouterKeygen_v3.dic";
public static final String VERSION = "3.15.0";
public static final String VERSION = "4.0.0";
private static final String PUB_DIC_CFV = "https://github.com/routerkeygen/thomsonDicGenerator/releases/download/v3/RKDictionary.cfv";
private static final String LAUNCH_DATE = "11/09/2015";
private static final String LAUNCH_DATE = "05/11/2017";
private static final int DIALOG_ABOUT = 1001;
private static final int DIALOG_ASK_DOWNLOAD = 1002;
private static final int DIALOG_WAIT = 1003;
Expand Down Expand Up @@ -354,22 +354,10 @@ public void onClick(DialogInterface dialog, int id) {
getString(R.string.update_message,
lastVersion.version))
.setNegativeButton(R.string.bt_close,
new OnClickListener() {

public void onClick(DialogInterface dialog,
int which) {
removeDialog(DIALOG_UPDATE_NEEDED);
}
})
(dialog, which) -> removeDialog(DIALOG_UPDATE_NEEDED))
.setPositiveButton(R.string.bt_website,
new OnClickListener() {

public void onClick(DialogInterface dialog,
int which) {
startActivity(new Intent(Intent.ACTION_VIEW)
.setData(Uri.parse(lastVersion.url)));
}
});
(dialog, which) -> startActivity(new Intent(Intent.ACTION_VIEW)
.setData(Uri.parse(lastVersion.url))));
break;
}
case DIALOG_WAIT: {
Expand Down
4 changes: 2 additions & 2 deletions android/routerkeygen_version.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "3.15.0",
"url": "https://github.com/routerkeygen/routerkeygenAndroid/releases/download/v3.15.0/routerkeygen-3-15-0.apk"
"version": "4.0.0",
"url": "https://github.com/routerkeygen/routerkeygenAndroid/releases/download/v4.0.0/routerkeygen-4-0-0.apk"
}

0 comments on commit b126f81

Please sign in to comment.