fix 初始化修复

This commit is contained in:
cyh 2025-04-25 15:08:56 +08:00
parent 471d1503c8
commit c6f35f6223
2 changed files with 11 additions and 3 deletions

View File

@ -855,8 +855,11 @@ class SettingFragment : BaseFragment(), CoroutineScope by CoroutineScope(Dispatc
getNodeTimeOutNum-- getNodeTimeOutNum--
Log.d("GetNodeTimeOutNum==>$getNodeTimeOutNum") Log.d("GetNodeTimeOutNum==>$getNodeTimeOutNum")
delay(1000) delay(1000)
if (getNodeTimeOutNum<=0) {
errInit()
}
} }
errInit()
} }
} }

View File

@ -51,6 +51,7 @@ subprojects {
} }
val isApp = name == "app" val isApp = name == "app"
var isTZ = true
apply(plugin = if (isApp) "com.android.application" else "com.android.library") apply(plugin = if (isApp) "com.android.application" else "com.android.library")
@ -60,14 +61,18 @@ subprojects {
applicationId = "com.yingmao.clash" applicationId = "com.yingmao.clash"
namespace = "com.yingmao.clash" namespace = "com.yingmao.clash"
} }
// if (isTZ){
// applicationId = "com.taizi.clash"
// namespace = "com.yingmao.clash"
// }
// minSdk = 21 // minSdk = 21
//noinspection ExpiredTargetSdkVersion //noinspection ExpiredTargetSdkVersion
// targetSdk = 32 // targetSdk = 32
minSdk = 21 minSdk = 21
//noinspection ExpiredTargetSdkVersion //noinspection ExpiredTargetSdkVersion
targetSdk = 34 targetSdk = 34
versionName = "1.0.3.7" versionName = "1.0.3.8"
versionCode = 1037 versionCode = 1038
resValue("string", "release_name", "v$versionName") resValue("string", "release_name", "v$versionName")
resValue("integer", "release_code", "$versionCode") resValue("integer", "release_code", "$versionCode")
externalNativeBuild { externalNativeBuild {