mirror of
https://github.com/LittleTurtle2333/SimplicityTools.git
synced 2026-07-12 19:31:17 +08:00
@@ -6,12 +6,12 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdk = 32
|
compileSdk = 33
|
||||||
buildToolsVersion = "32.0.0"
|
buildToolsVersion = "33.0.0"
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId = "com.lt2333.simplicitytools"
|
applicationId = "com.lt2333.simplicitytools"
|
||||||
minSdk = 31
|
minSdk = 31
|
||||||
targetSdk = 32
|
targetSdk = 33
|
||||||
versionCode = 67
|
versionCode = 67
|
||||||
versionName = "1.6.6"
|
versionName = "1.6.6"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,7 +13,6 @@
|
|||||||
<activity
|
<activity
|
||||||
android:name=".activity.SettingsActivity"
|
android:name=".activity.SettingsActivity"
|
||||||
android:exported="true"
|
android:exported="true"
|
||||||
android:screenOrientation="portrait"
|
|
||||||
android:launchMode="singleTop">
|
android:launchMode="singleTop">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ object UnlockUnlimitedCropping : HookRegister() {
|
|||||||
override fun init() {
|
override fun init() {
|
||||||
//截图无限裁切
|
//截图无限裁切
|
||||||
findMethod("com.miui.gallery.editor.photo.screen.crop.ScreenCropView\$b") {
|
findMethod("com.miui.gallery.editor.photo.screen.crop.ScreenCropView\$b") {
|
||||||
name == "a"
|
name == "a" && parameterCount == 0 && returnType == Int::class.java
|
||||||
}.hookBefore {
|
}.hookBefore {
|
||||||
hasEnable("unlock_unlimited_cropping") {
|
hasEnable("unlock_unlimited_cropping") {
|
||||||
it.result = 0
|
it.result = 0
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ buildscript {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath("com.android.tools.build:gradle:7.2.0")
|
classpath("com.android.tools.build:gradle:7.2.1")
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10")
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0")
|
||||||
|
|
||||||
// NOTE: Do not place your application dependencies here; they belong
|
// NOTE: Do not place your application dependencies here; they belong
|
||||||
// in the individual module build.gradle.kts files
|
// in the individual module build.gradle.kts files
|
||||||
|
|||||||
Reference in New Issue
Block a user