去掉调试模式并且修正在线打包windows
(cherry picked from commit 603afe3ca6ffc6838e83ff8e1980dcc9e615733b)
This commit is contained in:
@@ -1135,18 +1135,9 @@ class AppConfig {
|
||||
|
||||
_isInitializing = true;
|
||||
try {
|
||||
// Debug 模式下直接使用固定地址,跳过所有配置请求和域名切换逻辑
|
||||
// if (kDebugMode) {
|
||||
// KRLogUtil.kr_i('🐛 Debug 模式,使用固定 API 地址,跳过配置请求', tag: 'AppConfig');
|
||||
// if (onSuccess != null) {
|
||||
// await onSuccess();
|
||||
// }
|
||||
// return;
|
||||
// }
|
||||
if (onSuccess != null) {
|
||||
await onSuccess();
|
||||
}
|
||||
// await _startAutoRetry(onSuccess);
|
||||
// 所有模式都走正常的配置请求流程
|
||||
KRLogUtil.kr_i('🚀 开始配置初始化', tag: 'AppConfig');
|
||||
await _startAutoRetry(onSuccess);
|
||||
} finally {
|
||||
_isInitializing = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user