mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2025-01-15 00:43:59 +08:00
link
This commit is contained in:
parent
c1cbc9a8fa
commit
ea2ed5f416
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
> **一款galgame翻译器**
|
> **一款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)
|
||||||
|
|
||||||
## 功能支持
|
## 功能支持
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
> **A galgame translator**
|
> **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
|
## Features
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
|
||||||
## Основные функции:
|
## Основные функции:
|
||||||
|
10
build.py
10
build.py
@ -10,6 +10,7 @@ with open(
|
|||||||
) as ff:
|
) as ff:
|
||||||
data = json.loads(ff.read())
|
data = json.loads(ff.read())
|
||||||
hostservers = data["main_server"]
|
hostservers = data["main_server"]
|
||||||
|
print(hostservers)
|
||||||
hostserver = None
|
hostserver = None
|
||||||
|
|
||||||
for _hostserver in hostservers:
|
for _hostserver in hostservers:
|
||||||
@ -19,6 +20,7 @@ for _hostserver in hostservers:
|
|||||||
break
|
break
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
print(hostserver)
|
||||||
links302 = {
|
links302 = {
|
||||||
"Github": {
|
"Github": {
|
||||||
"LunaTranslator": "HIllya51/LunaTranslator",
|
"LunaTranslator": "HIllya51/LunaTranslator",
|
||||||
@ -39,7 +41,7 @@ links302 = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
def dynalink(path: str):
|
def _dynalink(path: str):
|
||||||
if hostserver:
|
if hostserver:
|
||||||
return hostserver + path
|
return hostserver + path
|
||||||
pathx = path.split("/")
|
pathx = path.split("/")
|
||||||
@ -53,6 +55,12 @@ def dynalink(path: str):
|
|||||||
return links302.get(pathx[0]).get(pathx[1]).get(pathx[2])
|
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"]
|
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"
|
vcltlFile = "https://github.com/Chuyu-Team/VC-LTL5/releases/download/v5.0.9/VC-LTL-5.0.9-Binary.7z"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user