From 8eeda4a7b2fd080dd23eb1d75c155d81b0a28feb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <1173718158@qq.com> Date: Tue, 5 Nov 2024 15:11:27 +0800 Subject: [PATCH] some --- .github/ISSUE_TEMPLATE/01_game_request.yaml | 28 --------------------- .github/ISSUE_TEMPLATE/config.yml | 8 +++--- CMakeLists.txt | 6 ++--- LunaHost/GUI/Plugin/extensions/text.cpp | 8 ------ 4 files changed, 6 insertions(+), 44 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/01_game_request.yaml diff --git a/.github/ISSUE_TEMPLATE/01_game_request.yaml b/.github/ISSUE_TEMPLATE/01_game_request.yaml deleted file mode 100644 index 9ab5652..0000000 --- a/.github/ISSUE_TEMPLATE/01_game_request.yaml +++ /dev/null @@ -1,28 +0,0 @@ -name: Game Compatibility 游戏适配 -description: > - Request for an unsupported game, or hooked text is incorrect - - 请求支持尚未支持的游戏,或提取的文本不正确 -labels: enhancement -body: -- type: input - attributes: - label: vndb link/id -- type: textarea - attributes: - label: Game resource 游戏资源 - description: > - Give me the game resource via onedrive or googledrive or other unlimited speed network disk. Not accept any network disk that requires installing clients or logging in to download, such as Baidu, Pikpak, etc. - - 使用onedrive或googledrive或其他不限速网盘给我游戏资源。不接受任何需要安装客户端、需要登录下载的网盘,例如百度、pikpak等。 - validations: - required: true -- type: textarea - attributes: - label: screenshot 截图 - description: > - screenshot of game and screenshot of extracted text - - 游戏截图和提取的文本截图 - validations: - required: true \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index bde1e4e..468edae 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,5 +1,5 @@ -blank_issues_enabled: true +blank_issues_enabled: false contact_links: - - name: Discord - url: https://discord.com/invite/ErtDwVeAbB - about: Discord \ No newline at end of file + - name: LunaTranslator + url: https://github.com/HIllya51/LunaTranslator/issues/new/choose + about: LunaTranslator \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt index c94a1e5..4bd7b45 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,16 +6,14 @@ set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>") set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake) +set(CMAKE_CXX_STANDARD 17) +add_definitions(-DUNICODE -D_UNICODE) add_compile_options( - /std:c++17 /MP /wd4018 /wd4819 /wd4244 /wd4267 - /DVERSION="${VERSION}" - /DUNICODE - /D_UNICODE ) if(NOT CMAKE_BUILD_TYPE) diff --git a/LunaHost/GUI/Plugin/extensions/text.cpp b/LunaHost/GUI/Plugin/extensions/text.cpp index cef6372..a4fe755 100644 --- a/LunaHost/GUI/Plugin/extensions/text.cpp +++ b/LunaHost/GUI/Plugin/extensions/text.cpp @@ -97,14 +97,6 @@ const char* MAX_HISTORY_SIZE = u8"Max history size"; const char* CONFIG_JP_LOCALE = u8"Launch with JP locale"; const wchar_t* CONSOLE = L"Console"; const wchar_t* CLIPBOARD = L"Clipboard"; -const wchar_t* ABOUT = L"Textractor " ARCH L" v" VERSION LR"( made by Artikash (email: akashmozumdar@gmail.com) -Project homepage: https://github.com/Artikash/Textractor -Tutorial video: https://github.com/Artikash/Textractor/blob/master/docs/TUTORIAL.md -FAQ: https://github.com/Artikash/Textractor/wiki/FAQ -Please contact Artikash with any problems, feature requests, or questions relating to Textractor -You can do so via the project homepage (issues section) or via email -Source code available under GPLv3 at project homepage -If you like this project, please tell everyone about it! It's time to put AGTH down :))"; const wchar_t* CL_OPTIONS = LR"(usage: Textractor [-p{process ID|"process name"}]... example: Textractor -p4466 -p"My Game.exe" tries to inject processes with ID 4466 or with name My Game.exe)"; const wchar_t* UPDATE_AVAILABLE = L"Update available: download it from https://github.com/Artikash/Textractor/releases";