This commit is contained in:
2025-07-30 23:47:26 +08:00
parent ce685521de
commit 7fdff8d14b
7 changed files with 31 additions and 25 deletions

2
.idea/compiler.xml generated
View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="CompilerConfiguration"> <component name="CompilerConfiguration">
<bytecodeTargetLevel target="21" /> <bytecodeTargetLevel target="17" />
</component> </component>
</project> </project>

2
.idea/misc.xml generated
View File

@@ -4,7 +4,7 @@
<component name="FrameworkDetectionExcludesConfiguration"> <component name="FrameworkDetectionExcludesConfiguration">
<file type="web" url="file://$PROJECT_DIR$" /> <file type="web" url="file://$PROJECT_DIR$" />
</component> </component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_21" default="true" project-jdk-name="jbr-21" project-jdk-type="JavaSDK"> <component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-21" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" /> <output url="file://$PROJECT_DIR$/build/classes" />
</component> </component>
<component name="ProjectType"> <component name="ProjectType">

View File

@@ -11,7 +11,7 @@ android {
minSdk 29 minSdk 29
targetSdk 34 targetSdk 34
versionCode 1 versionCode 1
versionName "1.6.5 beta" versionName "2.0.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
} }
@@ -27,7 +27,7 @@ android {
} }
buildTypes { buildTypes {
release { release {
minifyEnabled false minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
} }
} }

View File

@@ -1,21 +1,21 @@
# Add project specific ProGuard rules here. # 保护除指定类外的所有类和成员不被混淆
# You can control the set of applied configuration files using the -keep class !org.astral.findmaimaiultra.service.InMemoryJarLoader, !org.astral.findmaimaiultra.been.faker.SegaApi2025, * { *; }
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following # 保留必要的属性这些是Android运行所必需的
# and specify the fully qualified class name to the JavaScript interface -keepattributes Signature
# class: -keepattributes *Annotation*
#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -keepattributes Exceptions
# public *; -keepattributes SourceFile,LineNumberTable
#} -keepattributes EnclosingMethod
-keepattributes InnerClasses
# Uncomment this to preserve the line number information for # 添加 missing_rules.txt 中的规则以解决警告
# debugging stack traces. -dontwarn org.bouncycastle.jsse.BCSSLParameters
#-keepattributes SourceFile,LineNumberTable -dontwarn org.bouncycastle.jsse.BCSSLSocket
-dontwarn org.bouncycastle.jsse.provider.BouncyCastleJsseProvider
# If you keep the line number information, uncomment this to -dontwarn org.conscrypt.Conscrypt$Version
# hide the original source file name. -dontwarn org.conscrypt.Conscrypt
#-renamesourcefileattribute SourceFile -dontwarn org.conscrypt.ConscryptHostnameVerifier
-dontwarn org.openjsse.javax.net.ssl.SSLParameters
-dontwarn org.openjsse.javax.net.ssl.SSLSocket
-dontwarn org.openjsse.net.ssl.OpenJSSE

View File

@@ -1,24 +1,30 @@
package org.astral.findmaimaiultra.been.faker; package org.astral.findmaimaiultra.been.faker;
import com.google.gson.annotations.SerializedName;
public class MaimaiConfig { public class MaimaiConfig {
/** /**
* API接口地址 * API接口地址
*/ */
@SerializedName("api")
private String api ; private String api ;
/** /**
* AES加密密钥 * AES加密密钥
*/ */
@SerializedName("AES_KEY")
private String AES_KEY; private String AES_KEY;
/** /**
* AES加密初始向量 * AES加密初始向量
*/ */
@SerializedName("AES_IV")
private String AES_IV ; private String AES_IV ;
/** /**
* 混淆参数 * 混淆参数
*/ */
@SerializedName("OBFUSCATE_PARAM")
private String OBFUSCATE_PARAM; private String OBFUSCATE_PARAM;
public String getApi() { public String getApi() {

View File

@@ -31,7 +31,7 @@ public class InMemoryJarLoader {
public static SegaApi2025 segaApi2025 = new SegaApi2025(); public static SegaApi2025 segaApi2025 = new SegaApi2025();
private static final String TAG = "JarClient"; private static final String TAG = "JarClient";
private static final String SERVER_URL = "http://100.95.217.4:23942/api/asserts"; private static final String SERVER_URL = "https://union.godserver.cn/api/asserts";
private final OkHttpClient client; private final OkHttpClient client;
private final Context mContext; private final Context mContext;

View File

@@ -1,4 +1,4 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules. // Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins { plugins {
id 'com.android.application' version '8.8.0' apply false id 'com.android.application' version '8.0.0' apply false
} }