This commit is contained in:
恍兮惚兮 2024-08-07 22:06:13 +08:00
parent c1cbc9a8fa
commit ea2ed5f416
4 changed files with 12 additions and 4 deletions

View File

@ -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)
## 功能支持

View File

@ -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

View File

@ -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)
## Основные функции:

View File

@ -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"