Skip to content

Commit

Permalink
Update Dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lings03 committed Nov 14, 2024
1 parent be6ab9e commit ecf4b91
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ dependencies {
// 添加 documentfile 依赖
implementation(libs.androidx.documentfile)
// 添加shizuku 依赖
implementation(libs.api)
implementation(libs.shizuku)
implementation(libs.provider)
// 添加datastore 依赖储存用户配置
implementation(libs.androidx.datastore.preferences)
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

<!--启动页-->
<activity
android:name="top.lings.start.StartActivity"
android:name="top.lings.userAgreement.UserAgreementActivity"
android:exported="true"
android:theme="@style/Theme.ModManager" />
<!--主页面-->
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/top/laoxin/modmanager/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import rikka.shizuku.Shizuku
import top.laoxin.modmanager.tools.PermissionTools
import top.laoxin.modmanager.ui.theme.ModManagerTheme
import top.laoxin.modmanager.ui.view.ModManagerApp
import top.lings.start.StartActivity
import top.lings.userAgreement.UserAgreementActivity

class MainActivity : ComponentActivity() {

Expand Down Expand Up @@ -59,7 +59,7 @@ class MainActivity : ComponentActivity() {
val isConfirm = sharedPreferences.getBoolean("isConfirm", false)

if (!isConfirm) {
val intent = Intent(this, StartActivity::class.java)
val intent = Intent(this, UserAgreementActivity::class.java)
startActivity(intent)
finish()
return
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package top.lings.start
package top.lings.userAgreement

import android.annotation.SuppressLint
import android.app.Activity
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package top.lings.start
package top.lings.userAgreement

import android.os.Bundle
import androidx.activity.ComponentActivity
Expand All @@ -12,7 +12,7 @@ import androidx.compose.ui.graphics.toArgb
import androidx.core.view.WindowCompat
import androidx.core.view.WindowInsetsControllerCompat

class StartActivity : ComponentActivity() {
class UserAgreementActivity : ComponentActivity() {

override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
Expand Down
10 changes: 5 additions & 5 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
accompanistPager = "0.36.0"
accompanistPermissions = "0.36.0"
agp = "8.7.2"
api = "13.1.5"
shizuku = "13.1.5"
coilCompose = "2.7.0"
commonsCompress = "1.27.1"
converterGson = "2.11.0"
Expand All @@ -16,8 +16,8 @@ junit = "4.13.2"
kotlinxSerializationJson = "1.7.3"
activityCompose = "1.9.3"
lifecycleViewmodelCompose = "2.8.7"
navigationCompose = "2.8.3"
navigationRuntimeKtx = "2.8.3"
navigationCompose = "2.8.4"
navigationRuntimeKtx = "2.8.4"
okhttpVersion = "4.12.0"
provider = "13.1.5"
retrofit = "2.11.0"
Expand Down Expand Up @@ -51,9 +51,9 @@ androidx-room-ktx = { module = "androidx.room:room-ktx", version.ref = "roomKtx"
androidx-room-runtime = { module = "androidx.room:room-runtime", version.ref = "roomRuntime" }
androidx-runtime-livedata = { module = "androidx.compose.runtime:runtime-livedata", version = "1.7.5" }
androidx-runtime-rxjava2 = { module = "androidx.compose.runtime:runtime-rxjava2", version = "1.7.5" }
api = { module = "dev.rikka.shizuku:api", version.ref = "api" }
shizuku = { module = "dev.rikka.shizuku:api", version.ref = "shizuku" }
coil-compose = { module = "io.coil-kt:coil-compose", version.ref = "coilCompose" }
compose-bom = { module = "androidx.compose:compose-bom", version = "2024.10.01" }
compose-bom = { module = "androidx.compose:compose-bom", version = "2024.11.00" }
commons-compress = { module = "org.apache.commons:commons-compress", version.ref = "commonsCompress" }
converter-gson = { module = "com.squareup.retrofit2:converter-gson", version.ref = "converterGson" }
converter-scalars = { module = "com.squareup.retrofit2:converter-scalars", version.ref = "converterScalars" }
Expand Down
Binary file removed update/ModManager-release.apk
Binary file not shown.

0 comments on commit ecf4b91

Please sign in to comment.