1
0
mirror of https://github.com/areteruhiro/LIME-beta-hiro.git synced 2025-02-06 05:21:37 +09:00
This commit is contained in:
Syuugo 2024-10-06 20:59:34 +09:00 committed by GitHub
parent 7cbb32b255
commit 0d6c9f41f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 16 additions and 14 deletions

View File

@ -43,7 +43,7 @@ jobs:
} >> $GITHUB_ENV } >> $GITHUB_ENV
- name: Set LINE Original Version Name - name: Set LINE Original Version Name
run: echo "line_ver=$(echo $(echo ${{ env.line_ver_code }} | cut -c-2).$(echo ${{ env.line_ver_code }} | cut -c3-4).$(echo ${{ env.line_ver_code }} | cut -c5) | sed -e 's/.0/./')" >> $GITHUB_ENV run: echo "line_ver=$(echo '${{ env.line_ver_code }}' | awk '{print substr($0,1,2)"."substr($0,3,2)"."int(substr($0,5,1))}')" >> $GITHUB_ENV
- name: Setup Java - name: Setup Java
uses: actions/setup-java@v4 uses: actions/setup-java@v4

View File

@ -6,14 +6,11 @@ android {
namespace 'io.github.chipppppppppp.lime' namespace 'io.github.chipppppppppp.lime'
compileSdk 34 compileSdk 34
buildFeatures.buildConfig = true
defaultConfig { defaultConfig {
minSdk 28 minSdk 28
//noinspection OldTargetApi targetSdk 34
targetSdk 33 versionCode 14
versionCode 13 versionName "1.10.0"
versionName "1.9.2"
multiDexEnabled false multiDexEnabled false
proguardFiles += 'proguard-rules.pro' proguardFiles += 'proguard-rules.pro'
buildConfigField 'String', 'HOOK_TARGET_VERSION', '"141600311"' buildConfigField 'String', 'HOOK_TARGET_VERSION', '"141600311"'
@ -49,13 +46,18 @@ android {
checkReleaseBuilds false checkReleaseBuilds false
} }
compileOptions { buildFeatures{
sourceCompatibility JavaVersion.VERSION_17 buildConfig true
targetCompatibility JavaVersion.VERSION_17 compose false
}
dependenciesInfo {
includeInApk false
includeInBundle false
} }
aaptOptions { aaptOptions {
aaptOptions.additionalParameters '--allow-reserved-package-id', '--package-id', '0x64' additionalParameters '--allow-reserved-package-id', '--package-id', '0x64'
} }
} }

View File

@ -18,7 +18,7 @@ public class BlockTracking implements IHook {
loadPackageParam.classLoader.loadClass(Constants.REQUEST_HOOK.className), loadPackageParam.classLoader.loadClass(Constants.REQUEST_HOOK.className),
Constants.REQUEST_HOOK.methodName, Constants.REQUEST_HOOK.methodName,
new XC_MethodHook() { new XC_MethodHook() {
static final Set<String> requests = new HashSet<>(Arrays.asList( final Set<String> requests = new HashSet<>(Arrays.asList(
"noop", "noop",
"reportAbuseEx", "reportAbuseEx",
"reportDeviceState", "reportDeviceState",

View File

@ -1,7 +1,7 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionSha256Sum=1541fa36599e12857140465f3c91a97409b4512501c26f9631fb113e392c5bd1 distributionSha256Sum=31c55713e40233a8303827ceb42ca48a47267a0ad4bab9177123121e71524c26
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.1-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
networkTimeout=10000 networkTimeout=10000
validateDistributionUrl=true validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME