diff --git a/README.md b/README.md index ba63257d..f7c23725 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ > **一款galgame翻译器** -### [使用说明](https://lunatranslator.org/#/zh/) [视频教程](https://space.bilibili.com/592120404/video) [QQ群](https://qm.qq.com/q/I5rr3uEpi2) [Discord](https://discord.com/invite/ErtDwVeAbB) +### [使用说明](https://docs.lunatranslator.org/#/zh/) [视频教程](https://space.bilibili.com/592120404/video) [QQ群](https://qm.qq.com/q/I5rr3uEpi2) [Discord](https://discord.com/invite/ErtDwVeAbB) ## 功能支持 diff --git a/README_en.md b/README_en.md index d3fc7c63..ec878b7c 100644 --- a/README_en.md +++ b/README_en.md @@ -11,7 +11,7 @@ > **A galgame translator** -### [Tutorial](https://lunatranslator.org/#/en/) [Vedio](https://space.bilibili.com/592120404/video) [Discord](https://discord.com/invite/ErtDwVeAbB) +### [Tutorial](https://docs.lunatranslator.org/#/en/) [Vedio](https://space.bilibili.com/592120404/video) [Discord](https://discord.com/invite/ErtDwVeAbB) ## Features diff --git a/README_ru.md b/README_ru.md index c7f1c5fa..12e9d409 100644 --- a/README_ru.md +++ b/README_ru.md @@ -11,7 +11,7 @@ > **Переводчик текста с экрана для игр и не только!** -### [Tutorial](https://lunatranslator.org/#/ru/) [Vedio](https://space.bilibili.com/592120404/video) [Discord](https://discord.com/invite/ErtDwVeAbB) +### [Tutorial](https://docs.lunatranslator.org/#/ru/) [Vedio](https://space.bilibili.com/592120404/video) [Discord](https://discord.com/invite/ErtDwVeAbB) ## Основные функции: diff --git a/build.py b/build.py index 28ce9016..e7a84b5c 100644 --- a/build.py +++ b/build.py @@ -10,6 +10,7 @@ with open( ) as ff: data = json.loads(ff.read()) hostservers = data["main_server"] +print(hostservers) hostserver = None for _hostserver in hostservers: @@ -19,6 +20,7 @@ for _hostserver in hostservers: break except: pass +print(hostserver) links302 = { "Github": { "LunaTranslator": "HIllya51/LunaTranslator", @@ -39,7 +41,7 @@ links302 = { } -def dynalink(path: str): +def _dynalink(path: str): if hostserver: return hostserver + path pathx = path.split("/") @@ -53,6 +55,12 @@ def dynalink(path: str): return links302.get(pathx[0]).get(pathx[1]).get(pathx[2]) +def dynalink(path): + _ = _dynalink(path) + print(_) + return _ + + pluginDirs = ["DLL32", "DLL64", "Locale_Remulator", "LunaHook", "Magpie", "NTLEAS"] vcltlFile = "https://github.com/Chuyu-Team/VC-LTL5/releases/download/v5.0.9/VC-LTL-5.0.9-Binary.7z"