Compare commits
3 Commits
3bae2b3b9a
...
7b1c0bf5f5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7b1c0bf5f5 | ||
|
|
852a33c14e | ||
|
|
c616be4f8a |
@@ -33,7 +33,7 @@ android {
|
||||
// versionName 更新后需要手动设置
|
||||
// 项目模块目录的 build.gradle 文件的 stageCount=0
|
||||
// Gradle编译环境下合起来的 versionName 就是 "${versionName}.0"
|
||||
versionName "15.20"
|
||||
versionName "15.21"
|
||||
if(true) {
|
||||
versionName = genVersionName("${versionName}")
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#Created by .winboll/winboll_app_build.gradle
|
||||
#Sat Jul 18 03:56:46 HKT 2026
|
||||
stageCount=22
|
||||
#Tue Jul 21 09:22:00 HKT 2026
|
||||
stageCount=1
|
||||
libraryProject=libaes
|
||||
baseVersion=15.20
|
||||
publishVersion=15.20.21
|
||||
baseVersion=15.21
|
||||
publishVersion=15.21.0
|
||||
buildCount=0
|
||||
baseBetaVersion=15.20.22
|
||||
baseBetaVersion=15.21.1
|
||||
|
||||
@@ -33,7 +33,7 @@ android {
|
||||
// versionName 更新后需要手动设置
|
||||
// .winboll/winbollBuildProps.properties 文件的 stageCount=0
|
||||
// Gradle编译环境下合起来的 versionName 就是 "${versionName}.0"
|
||||
versionName "15.20"
|
||||
versionName "15.21"
|
||||
if(true) {
|
||||
versionName = genVersionName("${versionName}")
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#Created by .winboll/winboll_app_build.gradle
|
||||
#Sun Jun 28 20:55:33 HKT 2026
|
||||
stageCount=35
|
||||
#Tue Jul 21 09:06:49 HKT 2026
|
||||
stageCount=1
|
||||
libraryProject=libappbase
|
||||
baseVersion=15.20
|
||||
publishVersion=15.20.34
|
||||
baseVersion=15.21
|
||||
publishVersion=15.21.0
|
||||
buildCount=0
|
||||
baseBetaVersion=15.20.35
|
||||
baseBetaVersion=15.21.1
|
||||
|
||||
@@ -62,7 +62,7 @@ dependencies {
|
||||
//annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'
|
||||
|
||||
// WinBoLL库 nexus.winboll.cc 地址
|
||||
api 'cc.winboll.studio:libappbase:15.20.34'
|
||||
api 'cc.winboll.studio:libappbase:15.21.+'
|
||||
// 备用库 jitpack.io 地址
|
||||
//api 'com.github.ZhanGSKen:libappbase:appbase-v15.20.33'
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#Created by .winboll/winboll_app_build.gradle
|
||||
#Sat Jul 18 03:56:46 HKT 2026
|
||||
stageCount=22
|
||||
#Tue Jul 21 09:22:00 HKT 2026
|
||||
stageCount=1
|
||||
libraryProject=libaes
|
||||
baseVersion=15.20
|
||||
publishVersion=15.20.21
|
||||
baseVersion=15.21
|
||||
publishVersion=15.21.0
|
||||
buildCount=0
|
||||
baseBetaVersion=15.20.22
|
||||
baseBetaVersion=15.21.1
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#Created by .winboll/winboll_app_build.gradle
|
||||
#Sun Jun 28 20:55:33 HKT 2026
|
||||
stageCount=35
|
||||
#Tue Jul 21 09:06:49 HKT 2026
|
||||
stageCount=1
|
||||
libraryProject=libappbase
|
||||
baseVersion=15.20
|
||||
publishVersion=15.20.34
|
||||
baseVersion=15.21
|
||||
publishVersion=15.21.0
|
||||
buildCount=0
|
||||
baseBetaVersion=15.20.35
|
||||
baseBetaVersion=15.21.1
|
||||
|
||||
@@ -9,6 +9,8 @@ import android.content.SharedPreferences;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.View;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.Toast;
|
||||
import java.util.HashMap;
|
||||
import java.util.UUID;
|
||||
import cc.winboll.studio.libappbase.GlobalApplication;
|
||||
|
||||
@@ -24,12 +26,26 @@ public class DebugSwitchInfoImageView extends ImageView {
|
||||
// 连续点击计数
|
||||
private int mClickCount = 0;
|
||||
// 目标点击次数
|
||||
private static final int TARGET_CLICK_COUNT = 7;
|
||||
private static final int TARGET_CLICK_COUNT = 10;
|
||||
|
||||
private static String mDebugToken = null;
|
||||
private static final String SP_DEBUG_TOKEN = "debug_token_prefs";
|
||||
private static final String KEY_DEBUG_TOKEN = "debug_token";
|
||||
|
||||
private static final HashMap<Integer, String> NUMBER_WORDS = new HashMap<Integer, String>();
|
||||
static {
|
||||
NUMBER_WORDS.put(1, "one");
|
||||
NUMBER_WORDS.put(2, "two");
|
||||
NUMBER_WORDS.put(3, "three");
|
||||
NUMBER_WORDS.put(4, "four");
|
||||
NUMBER_WORDS.put(5, "five");
|
||||
NUMBER_WORDS.put(6, "six");
|
||||
NUMBER_WORDS.put(7, "seven");
|
||||
NUMBER_WORDS.put(8, "eight");
|
||||
NUMBER_WORDS.put(9, "nine");
|
||||
NUMBER_WORDS.put(10, "ten");
|
||||
}
|
||||
|
||||
public static String getDebugToken() {
|
||||
if (mDebugToken != null) {
|
||||
return mDebugToken;
|
||||
@@ -116,6 +132,11 @@ public class DebugSwitchInfoImageView extends ImageView {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
mClickCount++;
|
||||
String word = NUMBER_WORDS.get(mClickCount);
|
||||
if (word == null) {
|
||||
word = "One Piece!";
|
||||
}
|
||||
Toast.makeText(getContext(), word, Toast.LENGTH_SHORT).show();
|
||||
if (mClickCount >= TARGET_CLICK_COUNT) {
|
||||
mClickCount = 0;
|
||||
showDebugTokenDialog();
|
||||
|
||||
@@ -18,9 +18,13 @@ def genVersionName(def versionName){
|
||||
}
|
||||
|
||||
android {
|
||||
// 适配MIUI12
|
||||
compileSdkVersion 30
|
||||
buildToolsVersion "30.0.3"
|
||||
// 适配MIUI12
|
||||
compileSdkVersion 30
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_7
|
||||
targetCompatibility JavaVersion.VERSION_1_7
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
applicationId "cc.winboll.studio.winboll"
|
||||
@@ -31,7 +35,7 @@ android {
|
||||
// versionName 更新后需要手动设置
|
||||
// .winboll/winbollBuildProps.properties 文件的 stageCount=0
|
||||
// Gradle编译环境下合起来的 versionName 就是 "${versionName}.0"
|
||||
versionName "15.20"
|
||||
versionName "15.21"
|
||||
if(true) {
|
||||
versionName = genVersionName("${versionName}")
|
||||
}
|
||||
@@ -39,7 +43,6 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api project(':libwinboll')
|
||||
api 'com.google.code.gson:gson:2.10.1'
|
||||
|
||||
// 下拉控件
|
||||
@@ -97,8 +100,8 @@ dependencies {
|
||||
implementation 'androidx.biometric:biometric:1.1.0'
|
||||
|
||||
// WinBoLL库 nexus.winboll.cc 地址
|
||||
api 'cc.winboll.studio:libappbase:15.20.33'
|
||||
api 'cc.winboll.studio:libaes:15.20.16'
|
||||
api 'cc.winboll.studio:libappbase:15.21.+'
|
||||
api 'cc.winboll.studio:libaes:15.21.+'
|
||||
|
||||
// 备用库 jitpack.io 地址
|
||||
//api 'com.github.ZhanGSKen:libappbase:appbase-v15.20.33'
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#Created by .winboll/winboll_app_build.gradle
|
||||
#Wed Jun 24 08:11:15 CST 2026
|
||||
stageCount=9
|
||||
libraryProject=libwinboll
|
||||
baseVersion=15.20
|
||||
publishVersion=15.20.8
|
||||
#Tue Jul 21 09:55:56 HKT 2026
|
||||
stageCount=1
|
||||
libraryProject=
|
||||
baseVersion=15.21
|
||||
publishVersion=15.21.0
|
||||
buildCount=0
|
||||
baseBetaVersion=15.20.9
|
||||
baseBetaVersion=15.21.1
|
||||
|
||||
@@ -193,9 +193,7 @@ public class MainActivity extends DrawerFragmentActivity {
|
||||
} else if (nItemId == R.id.item_termux_env_test) {
|
||||
Intent intent = new Intent(getApplicationContext(), TermuxEnvTestActivity.class);
|
||||
WinBoLLActivityManager.getInstance().startWinBoLLActivity(getApplicationContext(), intent, AboutActivity.class);
|
||||
} else if (nItemId == R.id.item_library_activity) {
|
||||
Intent intent = new Intent(getApplicationContext(), cc.winboll.studio.libwinboll.WinBoLLLibraryActivity.class);
|
||||
WinBoLLActivityManager.getInstance().startWinBoLLActivity(getApplicationContext(), intent, AboutActivity.class);
|
||||
|
||||
} else {
|
||||
return super.onOptionsItemSelected(item);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user