This commit is contained in:
恍兮惚兮 2024-07-08 00:24:24 +08:00
parent 49da30b2b3
commit b28b755167
8 changed files with 20 additions and 20 deletions

View File

@ -92,7 +92,7 @@
#define HS_SEARCH_FOR_TEXT L"Search for specific text"
#define VersionLatest L"Latest version"
#define VersionCurrent L"Current version"
#define ProjectHomePage L"Project homepage: https://github.com/test123456654321/LunaHook"
#define ProjectHomePage L"Project homepage: https://lunatranslator.xyz/Github/LunaHook"
#define LIST_HOOK L"Hook"
#define LIST_TEXT L"Text"
#define PROC_CONN L"process connected %d"

View File

@ -92,7 +92,7 @@
#define HS_SEARCH_FOR_TEXT L"Искать определенный текст"
#define VersionLatest L"Последняя версия"
#define VersionCurrent L"Текущая версия"
#define ProjectHomePage L"Страница проекта: https://github.com/test123456654321/LunaHook Перевод на русский: https://github.com/NekoIriyaRu"
#define ProjectHomePage L"Страница проекта: https://lunatranslator.xyz/Github/LunaHook Перевод на русский: https://github.com/NekoIriyaRu"
#define LIST_HOOK L"Хук"
#define LIST_TEXT L"Текст"
#define PROC_CONN L"Процесс подключен %d"

View File

@ -92,7 +92,7 @@
#define HS_SEARCH_FOR_TEXT L"搜索指定文本"
#define VersionLatest L"最新版本"
#define VersionCurrent L"当前版本"
#define ProjectHomePage L"项目主页: https://github.com/test123456654321/LunaHook"
#define ProjectHomePage L"项目主页: https://lunatranslator.xyz/Github/LunaHook"
#define LIST_HOOK L"Hook"
#define LIST_TEXT L"文本"
#define PROC_CONN L"进程已连接 %d"

View File

@ -280,7 +280,7 @@ LunaHost::LunaHost(){
settext(title);
std::thread([&](){
//https://github.com/test123456654321/LunaHook/issues/14
//https://lunatranslator.xyz/Github/LunaHook/issues/14
std::wstring sel;
while(1)
{
@ -314,14 +314,14 @@ LunaHost::LunaHost(){
std::thread([&](){
if (HttpRequest httpRequest{
L"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36",
L"api.github.com",
L"lunatranslator.xyz",
L"GET",
L"/repos/test123456654321/LunaHook/releases/latest"
L"/version_lunahook"
}){
try{
auto resp=nlohmann::json::parse(WideStringToString(httpRequest.response));
std::string ver=resp["tag_name"];
std::string ver=resp["version"];
settext(text()+L" | "+VersionLatest+L" "+ StringToWideString(ver));
}
catch(std::exception&e){}

View File

@ -2,17 +2,17 @@
<p align="left">
<a href="./LICENSE"><img src="https://img.shields.io/github/license/test123456654321/LunaHook"></a>
<a href="https://github.com/test123456654321/LunaHook/releases"><img src="https://img.shields.io/github/v/release/test123456654321/LunaHook?color=ffa"></a>
<a href="https://lunatranslator.xyz/Github/LunaHook/releases"><img src="https://img.shields.io/github/v/release/test123456654321/LunaHook?color=ffa"></a>
</p>
## English | [简体中文](README_zh.md) | [Русский](README_ru.md)
LunaHook is the Core Text Hook Module For [LunaTranslator](https://github.com/test123456654321/LunaTranslator).
LunaHook is the Core Text Hook Module For [LunaTranslator](https://lunatranslator.xyz/Github/LunaTranslator).
## Download
Download it via github [release](https://github.com/test123456654321/LunaHook/releases).
Download it via github [release](https://lunatranslator.xyz/Github/LunaHook/releases).
For English user, download Release_English.zip. For Chinese user download Release_Chinese.zip.
@ -20,7 +20,7 @@ If you use Windows XP for some old Visual Novel, download zip with _winxp suffix
## Plugins
Download plugin32 or plugin64 in [release](https://github.com/test123456654321/LunaHook/releases).
Download plugin32 or plugin64 in [release](https://lunatranslator.xyz/Github/LunaHook/releases).
Compatible with Textractor plugins.

View File

@ -2,17 +2,17 @@
<p align="left">
<a href="./LICENSE"><img src="https://img.shields.io/github/license/test123456654321/LunaHook"></a>
<a href="https://github.com/test123456654321/LunaHook/releases"><img src="https://img.shields.io/github/v/release/test123456654321/LunaHook?color=ffa"></a>
<a href="https://lunatranslator.xyz/Github/LunaHook/releases"><img src="https://img.shields.io/github/v/release/test123456654321/LunaHook?color=ffa"></a>
</p>
## [English](README.md) | [简体中文](README_zh.md) | Русский
LunaHook - это модуль перехвата текста Core Text для [LunaTranslator](https://github.com/test123456654321/LunaTranslator).
LunaHook - это модуль перехвата текста Core Text для [LunaTranslator](https://lunatranslator.xyz/Github/LunaTranslator).
## Скачивание
Скачайте его через релизы на github [release](https://github.com/test123456654321/LunaHook/releases).
Скачайте его через релизы на github [release](https://lunatranslator.xyz/Github/LunaHook/releases).
Для англязычных пользователей есть версия Release_English.zip. Для китайскоязычных пользователей есть версия Release_Chinese.zip. Для русскоязычных пользователей есть версия Release_Russian.zip.
@ -20,7 +20,7 @@ LunaHook - это модуль перехвата текста Core Text для
## Плагины
Скачайте plugin32 или plugin64 в [релизах](https://github.com/test123456654321/LunaHook/releases).
Скачайте plugin32 или plugin64 в [релизах](https://lunatranslator.xyz/Github/LunaHook/releases).
Совместим с плагинами Textractor.

View File

@ -2,16 +2,16 @@
<p align="left">
<a href="./LICENSE"><img src="https://img.shields.io/github/license/test123456654321/LunaHook"></a>
<a href="https://github.com/test123456654321/LunaHook/releases"><img src="https://img.shields.io/github/v/release/test123456654321/LunaHook?color=ffa"></a>
<a href="https://lunatranslator.xyz/Github/LunaHook/releases"><img src="https://img.shields.io/github/v/release/test123456654321/LunaHook?color=ffa"></a>
</p>
## 简体中文 | [English](README.md) | [Русский](README_ru.md)
[LunaTranslator](https://github.com/test123456654321/LunaTranslator)核心文本提取器模块
[LunaTranslator](https://lunatranslator.xyz/Github/LunaTranslator)核心文本提取器模块
## 下载
在github [release](https://github.com/test123456654321/LunaHook/releases)中下载
在github [release](https://lunatranslator.xyz/Github/LunaHook/releases)中下载
选择所使用的语言下载相应的zip
@ -19,7 +19,7 @@
## 插件
在[release](https://github.com/test123456654321/LunaHook/releases)中下载plugin32或plugin64
在[release](https://lunatranslator.xyz/Github/LunaHook/releases)中下载plugin32或plugin64
兼容Textractor插件

View File

@ -7,7 +7,7 @@ includedir=${prefix}/pjlib/include;${prefix}/pjlib-util/include;${prefix}/pjmedi
Name: LunaHook
Description: Visual Novel Text Hook Engine
URL: https://github.com/test123456654321/LunaHook
URL: https://lunatranslator.xyz/Github/LunaHook
Version: @PJSIP_VERSION@
Libs: -L${libdir} -llibpjproject-$$(Platform)-$$(PlatformToolset)-$$(Configuration)-@PJSIP_CRT_LINKAGE@.lib
Libs.private: -lWs2_32.lib