Merge branch 'feat/GHZSCY-7642' into 'dev'
畅玩汉化翻译功能 See merge request halo/android/assistant-android!2196
This commit is contained in:
@ -157,3 +157,4 @@ oss-upload&send-email:
|
||||
only:
|
||||
- dev
|
||||
- release
|
||||
|
||||
|
||||
@ -1460,6 +1460,8 @@ object VHelper {
|
||||
}
|
||||
}
|
||||
}
|
||||
// 启动游戏时也执行下载插件逻辑,修复用户没有下载新的畅玩游戏,插件更新没有触发的问题。
|
||||
initVaPlugin(gameId)
|
||||
} catch (e: Exception) {
|
||||
ToastUtils.toast(e.localizedMessage ?: "")
|
||||
}
|
||||
|
||||
@ -8,7 +8,7 @@ plugins {
|
||||
|
||||
android {
|
||||
// 在 DEFAULT_PLUGIN_URL 中提取插件版本号
|
||||
def defaultPluginUrl = "https://app-static.796697.com/va/plugin/2024/10/17/1.0.3_64_1729148903919.zip"
|
||||
def defaultPluginUrl = "https://app-static.796697.com/va/plugin/2025/05/15/2.0.0_64_1747292406020.zip"
|
||||
def versionText = defaultPluginUrl.substring(defaultPluginUrl.lastIndexOf("/") + 1)
|
||||
def pluginVersionPattern = ~/^\d+.\d+.\d+/
|
||||
def matcher = versionText =~ pluginVersionPattern
|
||||
|
||||
@ -79,6 +79,7 @@ def optionalVaModules = [
|
||||
'va-common' : 'vasdk/common',
|
||||
'va-core' : 'vasdk/core',
|
||||
'va-feature-realname': 'vasdk/feature/realname-window',
|
||||
'va-feature-translate': 'vasdk/feature/translate',
|
||||
'va-library-commons' : 'vasdk/commons',
|
||||
'va-library-network' : 'vasdk/library/network',
|
||||
'va-archive' : 'vasdk/archive',
|
||||
|
||||
2
vasdk
2
vasdk
Submodule vasdk updated: fc59639f20...950989924d
Reference in New Issue
Block a user