Compare commits

...

6 Commits

Author SHA1 Message Date
Studio
795593b3bf <aes>APK 15.20.14 release Publish. 2026-06-03 07:07:27 +08:00
Studio
cda173fa9e <libaes>Library Release 15.20.13 2026-06-03 07:05:51 +08:00
Studio
fe57aee469 <aes>APK 15.20.13 release Publish. 2026-06-03 07:05:34 +08:00
3fc0883e0e 源码整理,更新类库 2026-06-03 07:03:06 +08:00
b162eb1a4e 优化应用创建函数,提高应用调试能力 2026-06-03 07:00:58 +08:00
STUDIO
fdd8b64718 <libaes>Library Release 15.20.12 2026-06-02 08:54:36 +08:00
5 changed files with 35 additions and 21 deletions

View File

@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle #Created by .winboll/winboll_app_build.gradle
#Tue Jun 02 08:54:20 HKT 2026 #Wed Jun 03 07:07:27 HKT 2026
stageCount=13 stageCount=15
libraryProject=libaes libraryProject=libaes
baseVersion=15.20 baseVersion=15.20
publishVersion=15.20.12 publishVersion=15.20.14
buildCount=0 buildCount=0
baseBetaVersion=15.20.13 baseBetaVersion=15.20.15

View File

@@ -7,9 +7,12 @@ package cc.winboll.studio.aes;
*/ */
import cc.winboll.studio.libaes.utils.AESThemeUtil; import cc.winboll.studio.libaes.utils.AESThemeUtil;
import cc.winboll.studio.libaes.utils.WinBoLLActivityManager; import cc.winboll.studio.libaes.utils.WinBoLLActivityManager;
import cc.winboll.studio.libappbase.CrashHandler;
import cc.winboll.studio.libappbase.GlobalApplication; import cc.winboll.studio.libappbase.GlobalApplication;
import cc.winboll.studio.libappbase.ToastUtils; import cc.winboll.studio.libappbase.ToastUtils;
import java.util.ArrayList; import cc.winboll.studio.libappbase.utils.CrashHandleNotifyUtils;
import java.io.PrintWriter;
import java.io.StringWriter;
public class App extends GlobalApplication { public class App extends GlobalApplication {
@@ -18,12 +21,25 @@ public class App extends GlobalApplication {
@Override @Override
public void onCreate() { public void onCreate() {
super.onCreate(); try {
AESThemeUtil.init(null); super.onCreate();
WinBoLLActivityManager.init(this); ToastUtils.init(this);
WinBoLLActivityManager.init(this);
AESThemeUtil.init(null);
} catch (Throwable e) {
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWriter(sw);
e.printStackTrace(pw);
pw.close();
String stackTraceStr = sw.toString();
CrashHandleNotifyUtils.handleUncaughtException(
this,
getPackageName(),
stackTraceStr,
CrashHandler.CrashActivity.class
);
}
// 初始化 Toast 框架
ToastUtils.init(this);
} }
@Override @Override

View File

@@ -66,9 +66,9 @@ dependencies {
//annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0' //annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'
// WinBoLL库 nexus.winboll.cc 地址 // WinBoLL库 nexus.winboll.cc 地址
//api 'cc.winboll.studio:libappbase:15.20.22' api 'cc.winboll.studio:libappbase:15.20.25'
// 备用库 jitpack.io 地址 // 备用库 jitpack.io 地址
api 'com.github.ZhanGSKen:libappbase:appbase-v15.20.22' //api 'com.github.ZhanGSKen:libappbase:appbase-v15.20.25'
api fileTree(dir: 'libs', include: ['*.jar']) api fileTree(dir: 'libs', include: ['*.jar'])
} }

View File

@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle #Created by .winboll/winboll_app_build.gradle
#Tue Jun 02 08:54:20 HKT 2026 #Wed Jun 03 07:07:27 HKT 2026
stageCount=13 stageCount=15
libraryProject=libaes libraryProject=libaes
baseVersion=15.20 baseVersion=15.20
publishVersion=15.20.12 publishVersion=15.20.14
buildCount=0 buildCount=0
baseBetaVersion=15.20.13 baseBetaVersion=15.20.15

View File

@@ -9,13 +9,10 @@ import android.app.Activity;
import android.content.Context; import android.content.Context;
import android.view.Menu; import android.view.Menu;
import android.view.MenuItem; import android.view.MenuItem;
import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.app.AppCompatActivity;
import cc.winboll.studio.libaes.R; import cc.winboll.studio.libaes.R;
import cc.winboll.studio.libaes.activitys.DrawerFragmentActivity; import cc.winboll.studio.libaes.activitys.DrawerFragmentActivity;
import cc.winboll.studio.libaes.models.AESThemeBean; import cc.winboll.studio.libaes.models.AESThemeBean;
import java.util.ArrayList; import java.util.ArrayList;
public class AESThemeUtil { public class AESThemeUtil {
@@ -33,7 +30,8 @@ public class AESThemeUtil {
* 初始化主题样式ID集合 * 初始化主题样式ID集合
*/ */
public static void init(ArrayList<Integer> themeStyleIDList) { public static void init(ArrayList<Integer> themeStyleIDList) {
if(themeStyleIDList == null) {
if (themeStyleIDList == null) {
themeStyleIDList = new ArrayList<Integer>(); themeStyleIDList = new ArrayList<Integer>();
AESThemeBean.fillThemeStyleIDList(themeStyleIDList); AESThemeBean.fillThemeStyleIDList(themeStyleIDList);
} }
@@ -45,7 +43,7 @@ public class AESThemeUtil {
* 获取当前主题样式ID * 获取当前主题样式ID
*/ */
public static int getThemeTypeID(Context context) { public static int getThemeTypeID(Context context) {
AESThemeBean bean = AESThemeBean.loadBean(context, AESThemeBean.class); AESThemeBean bean = AESThemeBean.loadBean(context, AESThemeBean.class);
return bean == null ? getThemeStyleID(AESThemeBean.ThemeType.AES) : bean.getCurrentThemeTypeID(); return bean == null ? getThemeStyleID(AESThemeBean.ThemeType.AES) : bean.getCurrentThemeTypeID();
} }