This repository was archived by the owner on May 21, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
java/com/dashboard/kotlin Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ android {
1818 minSdkVersion 26
1919 targetSdkVersion 32
2020 versionCode gitCommitCount. toInteger()
21- versionName " 4.3 "
21+ versionName " 4.4 "
2222 versionNameSuffix = " .r${ gitCommitCount} .${ gitCommitHash} "
2323
2424 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
@@ -41,7 +41,7 @@ android {
4141 release {
4242 minifyEnabled true
4343 shrinkResources true
44- proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
44+ // proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'),'proguard-rules.pro'
4545 }
4646 debug {}
4747 }
Original file line number Diff line number Diff line change @@ -163,11 +163,6 @@ class MainPage : Fragment() {
163163 bundle.putString(" URL" , " https://fast.com/zh/cn/" )
164164 it.findNavController().navigate(R .id.action_mainPage_to_webViewPage, bundle)
165165 }
166-
167- menu_setting.setOnClickListener {
168- it.findNavController().navigate(R .id.action_manPage_to_settingPage)
169- }
170-
171166 }
172167
173168 override fun onDestroyView () {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -64,20 +64,11 @@ class ClashStatus {
6464
6565object ClashConfig {
6666
67- var corePath: String
68- get() = KV .decodeString(" core_path" )? : " /system/bin/clash"
69- set(value) {
70- KV .encode(" core_path" , value)
71- }
67+ val corePath: String
68+ get() = " /data/adb/modules/Clash_For_Magisk/system/bin/clash"
7269
73- var scriptsPath: String
74- get() = KV .decodeString(" scripts_path" )? : " /data/clash/scripts"
75- set(value) {
76- if (value.last() == ' /' )
77- KV .encode(" scripts_path" ,value.substring(0 , value.length- 1 ))
78- else
79- KV .encode(" scripts_path" , value)
80- }
70+ val scriptsPath: String
71+ get() = " /data/clash/scripts"
8172
8273 val clashPath: String
8374 get() = " /data/clash"
Original file line number Diff line number Diff line change 113113 android : textAppearance =" ?attr/textAppearanceHeadline6" />
114114 </androidx .appcompat.widget.LinearLayoutCompat>
115115 </com .google.android.material.card.MaterialCardView>
116- <com .google.android.material.card.MaterialCardView
117- android : id =" @+id/menu_setting"
118- style =" @style/DefaultCard"
119- app : cardElevation =" 0dp" >
120-
121- <androidx .appcompat.widget.LinearLayoutCompat
122- style =" @style/Default"
123- android : layout_gravity =" center"
124- android : orientation =" horizontal" >
125-
126- <androidx .appcompat.widget.AppCompatImageView
127- style =" @style/DefaultCardImage"
128- android : layout_width =" wrap_content"
129- android : src =" @drawable/ic_settings" />
130-
131- <TextView
132- style =" @style/DefaultCardText"
133- android : text =" @string/title_setting"
134- android : textAppearance =" ?attr/textAppearanceHeadline6" />
135- </androidx .appcompat.widget.LinearLayoutCompat>
136- </com .google.android.material.card.MaterialCardView>
137116</androidx .appcompat.widget.LinearLayoutCompat>
Original file line number Diff line number Diff line change 2525 app : exitAnim =" @anim/nav_default_exit_anim"
2626 app : popEnterAnim =" @anim/nav_default_pop_enter_anim"
2727 app : popExitAnim =" @anim/nav_default_pop_exit_anim" />
28- <action
29- android : id =" @+id/action_manPage_to_settingPage"
30- app : destination =" @+id/settingPage"
31- app : enterAnim =" @anim/nav_default_enter_anim"
32- app : exitAnim =" @anim/nav_default_exit_anim"
33- app : popEnterAnim =" @anim/nav_default_pop_enter_anim"
34- app : popExitAnim =" @anim/nav_default_pop_exit_anim" />
3528 </fragment >
3629 <fragment
3730 android : id =" @+id/webViewPage"
4336 android : name =" com.dashboard.kotlin.IpCheckPage"
4437 android : label =" fragment_ip_check_page"
4538 tools : layout =" @layout/fragment_ip_check_page" />
46- <fragment
47- android : id =" @+id/settingPage"
48- android : name =" com.dashboard.kotlin.SettingPage"
49- android : label =" fragment_setting_page"
50- tools : layout =" @layout/fragment_setting_page" />
5139</navigation >
You can’t perform that action at this time.
0 commit comments