From a350f003d96f41698dd27bd85ee938a243622112 Mon Sep 17 00:00:00 2001
From: test123456654321 <16307130148@fudan.edu.cn>
Date: Fri, 18 Oct 2024 20:03:38 +0800
Subject: [PATCH] something (#1115)
---
.github/workflows/build.yml | 8 +--
.github/workflows/release.yml | 8 +--
.gitignore | 24 +-------
.gitmodules | 18 +++---
README.md | 4 +-
README_en.md => docs/other/README_en.md | 2 +-
README_ru.md => docs/other/README_ru.md | 2 +-
docs/other/otherlang.md | 8 +++
otherlang.md | 8 ---
plugins/libs/wechat-ocr | 1 -
plugins/libs/wil | 1 -
plugins/scripts/copytarget.py | 15 -----
.../LunaTranslator/LunaTranslator.py | 0
.../LunaTranslator/LunaTranslator_main.py | 0
.../LunaTranslator/__init__.py | 0
.../LunaTranslator/cishu/cishubase.py | 0
.../LunaTranslator/cishu/edict.py | 0
.../LunaTranslator/cishu/edict2.py | 0
.../LunaTranslator/cishu/goo.py | 0
.../LunaTranslator/cishu/jisho.py | 0
.../LunaTranslator/cishu/linggesi.py | 0
.../LunaTranslator/cishu/mdict.py | 0
.../LunaTranslator/cishu/mojidict.py | 0
.../LunaTranslator/cishu/weblio.py | 0
.../LunaTranslator/cishu/xiaoxueguan.py | 0
.../LunaTranslator/cishu/youdao.py | 0
.../LunaTranslator/gobject.py | 0
.../LunaTranslator/gui/attachprocessdialog.py | 0
.../LunaTranslator/gui/codeacceptdialog.py | 0
.../LunaTranslator/gui/dialog_memory.py | 0
.../LunaTranslator/gui/dialog_savedgame.py | 0
.../gui/dialog_savedgame_common.py | 0
.../gui/dialog_savedgame_legacy.py | 0
.../gui/dialog_savedgame_setting.py | 0
.../LunaTranslator/gui/dialog_savedgame_v3.py | 0
.../LunaTranslator/gui/dynalang.py | 0
.../LunaTranslator/gui/edittext.py | 0
.../LunaTranslator/gui/inputdialog.py | 0
.../LunaTranslator/gui/pretransfile.py | 0
.../LunaTranslator/gui/rangeselect.py | 0
.../gui/resizeablemainwindow.py | 0
.../LunaTranslator/gui/selecthook.py | 0
.../LunaTranslator/gui/setting.py | 0
.../LunaTranslator/gui/setting_about.py | 0
.../LunaTranslator/gui/setting_cishu.py | 0
.../LunaTranslator/gui/setting_display.py | 0
.../gui/setting_display_buttons.py | 0
.../gui/setting_display_scale.py | 0
.../gui/setting_display_text.py | 0
.../LunaTranslator/gui/setting_display_ui.py | 0
.../LunaTranslator/gui/setting_hotkey.py | 0
.../LunaTranslator/gui/setting_lang.py | 0
.../LunaTranslator/gui/setting_proxy.py | 0
.../LunaTranslator/gui/setting_textinput.py | 0
.../gui/setting_textinput_ocr.py | 0
.../LunaTranslator/gui/setting_translate.py | 0
.../LunaTranslator/gui/setting_transopti.py | 0
.../LunaTranslator/gui/setting_tts.py | 0
.../LunaTranslator/gui/showword.py | 0
.../LunaTranslator/gui/specialwidget.py | 0
.../LunaTranslator/gui/textbrowser.py | 0
.../LunaTranslator/gui/transhist.py | 0
.../LunaTranslator/gui/translatorUI.py | 0
.../LunaTranslator/gui/usefulwidget.py | 0
.../LunaTranslator/hiraparse/basehira.py | 0
.../LunaTranslator/hiraparse/latin.py | 0
.../LunaTranslator/hiraparse/mecab.py | 0
.../LunaTranslator/keeprefs.py | 0
.../LunaTranslator/metadata/abstract.py | 0
.../LunaTranslator/metadata/bangumi.py | 0
.../LunaTranslator/metadata/dlsite.py | 0
.../LunaTranslator/metadata/fanza.py | 0
.../LunaTranslator/metadata/steam.py | 0
.../LunaTranslator/metadata/vndb.py | 0
.../LunaTranslator/myutils/ankiconnect.py | 0
.../LunaTranslator/myutils/audioplayer.py | 0
.../LunaTranslator/myutils/commonbase.py | 0
.../LunaTranslator/myutils/config.py | 0
.../LunaTranslator/myutils/hwnd.py | 0
.../LunaTranslator/myutils/localetools.py | 0
.../LunaTranslator/myutils/ocrutil.py | 0
.../LunaTranslator/myutils/post.py | 0
.../LunaTranslator/myutils/proxy.py | 0
.../LunaTranslator/myutils/subproc.py | 0
.../LunaTranslator/myutils/template/mypost.py | 0
.../myutils/template/myprocess.py | 0
.../myutils/template/selfbuild.py | 0
.../LunaTranslator/myutils/traceplaytime.py | 0
.../LunaTranslator/myutils/utils.py | 0
.../LunaTranslator/myutils/winsyshotkey.py | 0
.../LunaTranslator/myutils/wrapper.py | 0
.../LunaTranslator/network/libcurl/libcurl.py | 0
.../network/libcurl/requester.py | 0
.../network/libcurl/websocket.py | 0
.../network/winhttp/brotli_dec.py | 0
.../network/winhttp/requester.py | 0
.../network/winhttp/websocket.py | 0
.../LunaTranslator/network/winhttp/winhttp.py | 0
.../LunaTranslator/ocrengines/baiduocr_X.py | 0
.../LunaTranslator/ocrengines/baseocrclass.py | 0
.../LunaTranslator/ocrengines/chatgptlike.py | 0
.../LunaTranslator/ocrengines/docsumo.py | 0
.../LunaTranslator/ocrengines/feishu.py | 0
.../LunaTranslator/ocrengines/geminiocr.py | 0
.../ocrengines/googlecloudvision.py | 0
.../LunaTranslator/ocrengines/googlelens.py | 0
.../LunaTranslator/ocrengines/local.py | 0
.../LunaTranslator/ocrengines/mangaocr.py | 0
.../LunaTranslator/ocrengines/ocrspace.py | 0
.../LunaTranslator/ocrengines/tesseract5.py | 0
.../LunaTranslator/ocrengines/txocr.py | 0
.../LunaTranslator/ocrengines/volcengine.py | 0
.../LunaTranslator/ocrengines/weixinocr.py | 0
.../LunaTranslator/ocrengines/windowsocr.py | 0
.../LunaTranslator/ocrengines/xunfei.py | 0
.../LunaTranslator/ocrengines/youdaocr.py | 0
.../ocrengines/youdaodictocr.py | 0
.../LunaTranslator/pytz.py | 0
.../LunaTranslator/qtawesome.py | 0
.../LunaTranslator/qtsymbols.py | 0
.../rendertext/exampleextrahtml.html | 0
.../rendertext/somefunctions.py | 0
.../LunaTranslator/rendertext/textbrowser.py | 0
.../rendertext/textbrowser_imp/base.py | 0
.../rendertext/textbrowser_imp/miaobian0.py | 0
.../rendertext/textbrowser_imp/miaobian1.py | 0
.../rendertext/textbrowser_imp/normal.py | 0
.../rendertext/textbrowser_imp/yinying.py | 0
.../LunaTranslator/rendertext/webview.html | 0
.../LunaTranslator/rendertext/webview.py | 0
.../LunaTranslator/requests.py | 0
.../LunaTranslator/scalemethod/base.py | 0
.../scalemethod/external_magpie.py | 0
.../scalemethod/magpie_builtin.py | 0
.../LunaTranslator/textoutput/clipboard.py | 0
.../LunaTranslator/textoutput/outputerbase.py | 0
.../LunaTranslator/textoutput/websocket.py | 0
.../LunaTranslator/textsource/copyboard.py | 0
.../LunaTranslator/textsource/filetrans.py | 0
.../LunaTranslator/textsource/ocrtext.py | 0
.../LunaTranslator/textsource/texthook.py | 0
.../textsource/textsourcebase.py | 0
.../LunaTranslator/translator/ModernMt.py | 0
.../LunaTranslator/translator/TranslateCom.py | 0
.../translator/_realtime_edit.py | 0
.../LunaTranslator/translator/ali.py | 0
.../LunaTranslator/translator/aliyunapi.py | 0
.../LunaTranslator/translator/atlas.py | 0
.../LunaTranslator/translator/azure.py | 0
.../LunaTranslator/translator/baidu.py | 0
.../LunaTranslator/translator/baidu_ai.py | 0
.../LunaTranslator/translator/baidu_dev.py | 0
.../LunaTranslator/translator/baiduapi.py | 0
.../LunaTranslator/translator/baiduqianfan.py | 0
.../translator/basetranslator.py | 0
.../translator/basetranslator_dev.py | 0
.../LunaTranslator/translator/bing.py | 0
.../LunaTranslator/translator/bing_dev.py | 0
.../LunaTranslator/translator/caiyun.py | 0
.../LunaTranslator/translator/caiyunapi.py | 0
.../translator/chatgpt-3rd-party.py | 0
.../translator/chatgpt-offline.py | 0
.../LunaTranslator/translator/claude.py | 0
.../LunaTranslator/translator/cohere.py | 0
.../translator/commonhookfetchstream.js | 0
.../translator/commonhookxhrstream.js | 0
.../LunaTranslator/translator/deepl.py | 0
.../LunaTranslator/translator/deepl_dev.py | 0
.../translator/deeplapi-free.py | 0
.../LunaTranslator/translator/dev_ali.py | 0
.../LunaTranslator/translator/dev_caiyun.py | 0
.../LunaTranslator/translator/dev_chatglm.py | 0
.../LunaTranslator/translator/dev_chatgpt.py | 0
.../translator/dev_chatgpt_mirror.py | 0
.../LunaTranslator/translator/dev_deepseek.py | 0
.../translator/dev_duckduckgo.py | 0
.../translator/dev_llm_common.py | 0
.../LunaTranslator/translator/dev_moonshot.py | 0
.../LunaTranslator/translator/dev_niutrans.py | 0
.../LunaTranslator/translator/dev_qwen.py | 0
.../LunaTranslator/translator/dev_sogou.py | 0
.../LunaTranslator/translator/dev_theb.py | 0
.../LunaTranslator/translator/dev_yandex.py | 0
.../LunaTranslator/translator/dev_youdao.py | 0
.../LunaTranslator/translator/dreye.py | 0
.../LunaTranslator/translator/eztrans.py | 0
.../LunaTranslator/translator/feishu.py | 0
.../LunaTranslator/translator/gemini.py | 0
.../LunaTranslator/translator/google.py | 0
.../LunaTranslator/translator/google2.py | 0
.../LunaTranslator/translator/google_dev.py | 0
.../LunaTranslator/translator/googleapi.py | 0
.../LunaTranslator/translator/gptcommon.py | 0
.../LunaTranslator/translator/hanshant.py | 0
.../LunaTranslator/translator/huoshan.py | 0
.../LunaTranslator/translator/huoshanapi.py | 0
.../LunaTranslator/translator/hwcloud.py | 0
.../LunaTranslator/translator/ibm.py | 0
.../LunaTranslator/translator/itrans.py | 0
.../LunaTranslator/translator/jb7.py | 0
.../LunaTranslator/translator/kingsoft.py | 0
.../LunaTranslator/translator/lingva.py | 0
.../LunaTranslator/translator/microsoft.py | 0
.../LunaTranslator/translator/ort_sp.py | 0
.../LunaTranslator/translator/papago.py | 0
.../LunaTranslator/translator/premt.py | 0
.../LunaTranslator/translator/qqTranSmart.py | 0
.../LunaTranslator/translator/qqimt.py | 0
.../LunaTranslator/translator/rengong.py | 0
.../LunaTranslator/translator/reverso.py | 0
.../translator/reverso_context.py | 0
.../LunaTranslator/translator/sakura.py | 0
.../LunaTranslator/translator/selfbuild.py | 0
.../LunaTranslator/translator/sougou2.py | 0
.../LunaTranslator/translator/sugoix.py | 0
.../LunaTranslator/translator/tencentapi.py | 0
.../LunaTranslator/translator/txhunyuan.py | 0
.../LunaTranslator/translator/xiaoniu.py | 0
.../LunaTranslator/translator/yandex.py | 0
.../LunaTranslator/translator/yandexapi.py | 0
.../LunaTranslator/translator/youdao.py | 0
.../LunaTranslator/translator/youdao3.py | 0
.../LunaTranslator/translator/youdao5.py | 0
.../LunaTranslator/translator/youdaoapi.py | 0
.../LunaTranslator/translator/youdaodict.py | 0
.../transoptimi/arabic_reshaper.py | 0
.../LunaTranslator/transoptimi/myprocess.py | 0
.../LunaTranslator/transoptimi/noundict.py | 0
.../transoptimi/transerrorfix.py | 0
.../LunaTranslator/transoptimi/vndbnamemap.py | 0
.../LunaTranslator/tts/NeoSpeech.py | 0
.../LunaTranslator/tts/basettsclass.py | 0
.../LunaTranslator/tts/edgetts.py | 0
.../LunaTranslator/tts/gtts.py | 0
.../LunaTranslator/tts/huoshantts.py | 0
.../LunaTranslator/tts/vitsSimpleAPI.py | 0
.../LunaTranslator/tts/voiceroid2.py | 0
.../LunaTranslator/tts/voicevox.py | 0
.../LunaTranslator/tts/windowstts.py | 0
.../LunaTranslator/tts/youdaotts.py | 0
.../LunaTranslator/websocket.py | 0
.../LunaTranslator/windows.py | 0
.../LunaTranslator/winrtutils.py | 0
.../LunaTranslator/winsharedutils.py | 0
.../LunaTranslator/zhconv.py | 0
build.py => src/build.py | 56 +++++++-----------
{LunaTranslator => src}/files/anki/back.html | 0
{LunaTranslator => src}/files/anki/front.html | 0
{LunaTranslator => src}/files/anki/style.css | 0
.../files/defaultconfig/config.json | 0
.../files/defaultconfig/magpie_config.json | 0
.../files/defaultconfig/ocrerrorfix.json | 0
.../files/defaultconfig/ocrsetting.json | 0
.../defaultconfig/postprocessconfig.json | 0
.../files/defaultconfig/static_data.json | 0
.../transerrorfixdictconfig.json | 0
.../defaultconfig/translatorsetting.json | 0
.../fonts/fontawesome4.7-webfont-charmap.json | 0
.../files/fonts/fontawesome4.7-webfont.ttf | Bin
{LunaTranslator => src}/files/lang/ar.json | 0
{LunaTranslator => src}/files/lang/cht.json | 0
{LunaTranslator => src}/files/lang/cs.json | 0
{LunaTranslator => src}/files/lang/de.json | 0
{LunaTranslator => src}/files/lang/en.json | 0
{LunaTranslator => src}/files/lang/es.json | 0
{LunaTranslator => src}/files/lang/fr.json | 0
{LunaTranslator => src}/files/lang/it.json | 0
{LunaTranslator => src}/files/lang/ja.json | 0
{LunaTranslator => src}/files/lang/ko.json | 0
{LunaTranslator => src}/files/lang/nl.json | 0
{LunaTranslator => src}/files/lang/pl.json | 0
{LunaTranslator => src}/files/lang/pt.json | 0
{LunaTranslator => src}/files/lang/ru.json | 0
{LunaTranslator => src}/files/lang/sv.json | 0
{LunaTranslator => src}/files/lang/th.json | 0
{LunaTranslator => src}/files/lang/tr.json | 0
{LunaTranslator => src}/files/lang/uk.json | 0
{LunaTranslator => src}/files/lang/vi.json | 0
{LunaTranslator => src}/files/lang/zh.json | 0
{LunaTranslator => src}/files/themes/.keepdir | 0
{LunaTranslator => src}/files/zan.jpg | Bin
.../files/zhconv/zhcdict.json | 0
{LunaTranslator => src}/importanalysis.py | 0
{plugins => src/plugins}/CMakeLists.txt | 0
.../applicationloopbackaudio/CMakeLists.txt | 0
.../applicationloopbackaudio/Common.h | 0
.../LoopbackCapture.cpp | 0
.../LoopbackCapture.h | 0
.../applicationloopbackaudio/runer.cpp | 0
{plugins => src/plugins}/common.hpp | 0
.../plugins}/exec/.vscode/settings.json | 0
{plugins => src/plugins}/exec/CMakeLists.txt | 0
{plugins => src/plugins}/exec/PyStand.cpp | 0
{plugins => src/plugins}/exec/PyStand.h | 0
{plugins => src/plugins}/exec/luna.ico | Bin
{plugins => src/plugins}/exec/luna.rc | 0
.../plugins}/hookmagpie/CMakeLists.txt | 0
.../plugins}/hookmagpie/hookmagpie.cpp | 0
.../plugins}/hookmagpie/veh_hook.cpp | 0
.../plugins}/hookmagpie/veh_hook.h | 0
{plugins => src/plugins}/implsapi.cpp | 0
.../libs/Detours-4.0.1/include/detours.h | 0
.../libs/Detours-4.0.1/include/detver.h | 0
.../libs/Detours-4.0.1/include/syelog.h | 0
.../libs/Detours-4.0.1/lib.X64/detours.lib | Bin
.../libs/Detours-4.0.1/lib.X64/syelog.lib | Bin
.../libs/Detours-4.0.1/lib.X86/detours.lib | Bin
.../libs/Detours-4.0.1/lib.X86/syelog.lib | Bin
.../libs/VC-LTL helper for cmake.cmake | 0
{plugins => src/plugins}/libs/libs.cmake | 0
.../plugins}/libs/nlohmann/json.hpp | 0
{plugins => src/plugins}/libs/rapidfuzz-cpp | 0
{plugins => src/plugins}/libs/tinymp3 | 0
src/plugins/libs/wechat-ocr | 1 +
src/plugins/libs/wil | 1 +
{plugins => src/plugins}/pch.cpp | 0
{plugins => src/plugins}/pch.h | 0
{plugins => src/plugins}/scripts/build32.bat | 0
{plugins => src/plugins}/scripts/build64.bat | 0
src/plugins/scripts/copytarget.py | 15 +++++
.../plugins}/scripts/fetchwebview2.py | 0
.../plugins}/shareddllproxy/Atlas.cpp | 0
.../plugins}/shareddllproxy/Atlas.h | 0
.../plugins}/shareddllproxy/CMakeLists.txt | 0
.../plugins}/shareddllproxy/LR.cpp | 0
.../plugins}/shareddllproxy/aspatch.cpp | 0
.../plugins}/shareddllproxy/dllinject.cpp | 0
.../plugins}/shareddllproxy/dreye.cpp | 0
.../plugins}/shareddllproxy/eztrans.cpp | 0
.../plugins}/shareddllproxy/jbj7.cpp | 0
.../plugins}/shareddllproxy/kingsoft.cpp | 0
.../plugins}/shareddllproxy/le.cpp | 0
.../plugins}/shareddllproxy/mp3.cpp | 0
.../plugins}/shareddllproxy/neospeech.cpp | 0
.../plugins}/shareddllproxy/ntleas.cpp | 0
.../shareddllproxy/shareddllproxy.cpp | 0
.../plugins}/shareddllproxy/update.cpp | 0
.../shareddllproxy/voiceroid2/CMakeLists.txt | 0
.../shareddllproxy/voiceroid2/api_adapter.cc | 0
.../shareddllproxy/voiceroid2/api_adapter.h | 0
.../shareddllproxy/voiceroid2/api_settings.cc | 0
.../shareddllproxy/voiceroid2/api_settings.h | 0
.../shareddllproxy/voiceroid2/ebyroid.cc | 0
.../shareddllproxy/voiceroid2/ebyroid.h | 0
.../shareddllproxy/voiceroid2/ebyutil.h | 0
.../shareddllproxy/voiceroid2/types.h | 0
.../shareddllproxy/voiceroid2/voice2.cpp | 0
.../plugins}/version/VersionInfo.in | 0
.../plugins}/version/VersionResource.rc | 0
.../version/generate_product_version.cmake | 0
{plugins => src/plugins}/wcocr/CMakeLists.txt | 0
{plugins => src/plugins}/wcocr/wcocr.cpp | 0
.../plugins}/winrtutils/CMakeLists.txt | 0
{plugins => src/plugins}/winrtutils/define.h | 0
.../plugins}/winrtutils/dllmain.cpp | 0
.../plugins}/winrtutils/winrtocr.cpp | 0
.../plugins}/winrtutils/winrtsnapshot.cpp | 0
.../plugins}/winsharedutils/AreoAcrylic.cpp | 0
{plugins => src/plugins}/winsharedutils/BMP.h | 0
.../plugins}/winsharedutils/CMakeLists.txt | 0
.../plugins}/winsharedutils/MWebBrowser.cpp | 0
.../plugins}/winsharedutils/MWebBrowser.hpp | 0
.../plugins}/winsharedutils/SimpleBrowser.cpp | 0
.../plugins}/winsharedutils/audio.cpp | 0
.../plugins}/winsharedutils/clipboard.cpp | 0
.../plugins}/winsharedutils/define.h | 0
.../plugins}/winsharedutils/dllmain.cpp | 0
.../winsharedutils/globalmessagelistener.cpp | 0
.../plugins}/winsharedutils/hwnd.cpp | 0
.../plugins}/winsharedutils/icon.cpp | 0
.../plugins}/winsharedutils/levenshtein.cpp | 0
.../plugins}/winsharedutils/lnk.cpp | 0
.../plugins}/winsharedutils/mp3enc.cpp | 0
.../plugins}/winsharedutils/muteprocess.cpp | 0
.../plugins}/winsharedutils/otsu.cpp | 0
.../plugins}/winsharedutils/sapi_dll.cpp | 0
.../plugins}/winsharedutils/screenshot.cpp | 0
.../plugins}/winsharedutils/simplemecab.cpp | 0
.../plugins}/winsharedutils/theme.cpp | 0
.../plugins}/winsharedutils/version.cpp | 0
.../winsharedutils/webview2_extra.cpp | 0
{LunaTranslator => src}/requirements.txt | 0
{LunaTranslator => src}/requirements_qt6.txt | 0
{LunaTranslator => src}/retrieval.py | 12 ++--
{LunaTranslator => src}/run.bat | 0
{LunaTranslator => src}/trans_lang.py | 0
386 files changed, 76 insertions(+), 108 deletions(-)
rename README_en.md => docs/other/README_en.md (96%)
rename README_ru.md => docs/other/README_ru.md (97%)
create mode 100644 docs/other/otherlang.md
delete mode 100644 otherlang.md
delete mode 160000 plugins/libs/wechat-ocr
delete mode 160000 plugins/libs/wil
delete mode 100644 plugins/scripts/copytarget.py
rename {LunaTranslator => src}/LunaTranslator/LunaTranslator.py (100%)
rename {LunaTranslator => src}/LunaTranslator/LunaTranslator_main.py (100%)
rename {LunaTranslator => src}/LunaTranslator/__init__.py (100%)
rename {LunaTranslator => src}/LunaTranslator/cishu/cishubase.py (100%)
rename {LunaTranslator => src}/LunaTranslator/cishu/edict.py (100%)
rename {LunaTranslator => src}/LunaTranslator/cishu/edict2.py (100%)
rename {LunaTranslator => src}/LunaTranslator/cishu/goo.py (100%)
rename {LunaTranslator => src}/LunaTranslator/cishu/jisho.py (100%)
rename {LunaTranslator => src}/LunaTranslator/cishu/linggesi.py (100%)
rename {LunaTranslator => src}/LunaTranslator/cishu/mdict.py (100%)
rename {LunaTranslator => src}/LunaTranslator/cishu/mojidict.py (100%)
rename {LunaTranslator => src}/LunaTranslator/cishu/weblio.py (100%)
rename {LunaTranslator => src}/LunaTranslator/cishu/xiaoxueguan.py (100%)
rename {LunaTranslator => src}/LunaTranslator/cishu/youdao.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gobject.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/attachprocessdialog.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/codeacceptdialog.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/dialog_memory.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/dialog_savedgame.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/dialog_savedgame_common.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/dialog_savedgame_legacy.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/dialog_savedgame_setting.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/dialog_savedgame_v3.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/dynalang.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/edittext.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/inputdialog.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/pretransfile.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/rangeselect.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/resizeablemainwindow.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/selecthook.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/setting.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/setting_about.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/setting_cishu.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/setting_display.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/setting_display_buttons.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/setting_display_scale.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/setting_display_text.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/setting_display_ui.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/setting_hotkey.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/setting_lang.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/setting_proxy.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/setting_textinput.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/setting_textinput_ocr.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/setting_translate.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/setting_transopti.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/setting_tts.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/showword.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/specialwidget.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/textbrowser.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/transhist.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/translatorUI.py (100%)
rename {LunaTranslator => src}/LunaTranslator/gui/usefulwidget.py (100%)
rename {LunaTranslator => src}/LunaTranslator/hiraparse/basehira.py (100%)
rename {LunaTranslator => src}/LunaTranslator/hiraparse/latin.py (100%)
rename {LunaTranslator => src}/LunaTranslator/hiraparse/mecab.py (100%)
rename {LunaTranslator => src}/LunaTranslator/keeprefs.py (100%)
rename {LunaTranslator => src}/LunaTranslator/metadata/abstract.py (100%)
rename {LunaTranslator => src}/LunaTranslator/metadata/bangumi.py (100%)
rename {LunaTranslator => src}/LunaTranslator/metadata/dlsite.py (100%)
rename {LunaTranslator => src}/LunaTranslator/metadata/fanza.py (100%)
rename {LunaTranslator => src}/LunaTranslator/metadata/steam.py (100%)
rename {LunaTranslator => src}/LunaTranslator/metadata/vndb.py (100%)
rename {LunaTranslator => src}/LunaTranslator/myutils/ankiconnect.py (100%)
rename {LunaTranslator => src}/LunaTranslator/myutils/audioplayer.py (100%)
rename {LunaTranslator => src}/LunaTranslator/myutils/commonbase.py (100%)
rename {LunaTranslator => src}/LunaTranslator/myutils/config.py (100%)
rename {LunaTranslator => src}/LunaTranslator/myutils/hwnd.py (100%)
rename {LunaTranslator => src}/LunaTranslator/myutils/localetools.py (100%)
rename {LunaTranslator => src}/LunaTranslator/myutils/ocrutil.py (100%)
rename {LunaTranslator => src}/LunaTranslator/myutils/post.py (100%)
rename {LunaTranslator => src}/LunaTranslator/myutils/proxy.py (100%)
rename {LunaTranslator => src}/LunaTranslator/myutils/subproc.py (100%)
rename {LunaTranslator => src}/LunaTranslator/myutils/template/mypost.py (100%)
rename {LunaTranslator => src}/LunaTranslator/myutils/template/myprocess.py (100%)
rename {LunaTranslator => src}/LunaTranslator/myutils/template/selfbuild.py (100%)
rename {LunaTranslator => src}/LunaTranslator/myutils/traceplaytime.py (100%)
rename {LunaTranslator => src}/LunaTranslator/myutils/utils.py (100%)
rename {LunaTranslator => src}/LunaTranslator/myutils/winsyshotkey.py (100%)
rename {LunaTranslator => src}/LunaTranslator/myutils/wrapper.py (100%)
rename {LunaTranslator => src}/LunaTranslator/network/libcurl/libcurl.py (100%)
rename {LunaTranslator => src}/LunaTranslator/network/libcurl/requester.py (100%)
rename {LunaTranslator => src}/LunaTranslator/network/libcurl/websocket.py (100%)
rename {LunaTranslator => src}/LunaTranslator/network/winhttp/brotli_dec.py (100%)
rename {LunaTranslator => src}/LunaTranslator/network/winhttp/requester.py (100%)
rename {LunaTranslator => src}/LunaTranslator/network/winhttp/websocket.py (100%)
rename {LunaTranslator => src}/LunaTranslator/network/winhttp/winhttp.py (100%)
rename {LunaTranslator => src}/LunaTranslator/ocrengines/baiduocr_X.py (100%)
rename {LunaTranslator => src}/LunaTranslator/ocrengines/baseocrclass.py (100%)
rename {LunaTranslator => src}/LunaTranslator/ocrengines/chatgptlike.py (100%)
rename {LunaTranslator => src}/LunaTranslator/ocrengines/docsumo.py (100%)
rename {LunaTranslator => src}/LunaTranslator/ocrengines/feishu.py (100%)
rename {LunaTranslator => src}/LunaTranslator/ocrengines/geminiocr.py (100%)
rename {LunaTranslator => src}/LunaTranslator/ocrengines/googlecloudvision.py (100%)
rename {LunaTranslator => src}/LunaTranslator/ocrengines/googlelens.py (100%)
rename {LunaTranslator => src}/LunaTranslator/ocrengines/local.py (100%)
rename {LunaTranslator => src}/LunaTranslator/ocrengines/mangaocr.py (100%)
rename {LunaTranslator => src}/LunaTranslator/ocrengines/ocrspace.py (100%)
rename {LunaTranslator => src}/LunaTranslator/ocrengines/tesseract5.py (100%)
rename {LunaTranslator => src}/LunaTranslator/ocrengines/txocr.py (100%)
rename {LunaTranslator => src}/LunaTranslator/ocrengines/volcengine.py (100%)
rename {LunaTranslator => src}/LunaTranslator/ocrengines/weixinocr.py (100%)
rename {LunaTranslator => src}/LunaTranslator/ocrengines/windowsocr.py (100%)
rename {LunaTranslator => src}/LunaTranslator/ocrengines/xunfei.py (100%)
rename {LunaTranslator => src}/LunaTranslator/ocrengines/youdaocr.py (100%)
rename {LunaTranslator => src}/LunaTranslator/ocrengines/youdaodictocr.py (100%)
rename {LunaTranslator => src}/LunaTranslator/pytz.py (100%)
rename {LunaTranslator => src}/LunaTranslator/qtawesome.py (100%)
rename {LunaTranslator => src}/LunaTranslator/qtsymbols.py (100%)
rename {LunaTranslator => src}/LunaTranslator/rendertext/exampleextrahtml.html (100%)
rename {LunaTranslator => src}/LunaTranslator/rendertext/somefunctions.py (100%)
rename {LunaTranslator => src}/LunaTranslator/rendertext/textbrowser.py (100%)
rename {LunaTranslator => src}/LunaTranslator/rendertext/textbrowser_imp/base.py (100%)
rename {LunaTranslator => src}/LunaTranslator/rendertext/textbrowser_imp/miaobian0.py (100%)
rename {LunaTranslator => src}/LunaTranslator/rendertext/textbrowser_imp/miaobian1.py (100%)
rename {LunaTranslator => src}/LunaTranslator/rendertext/textbrowser_imp/normal.py (100%)
rename {LunaTranslator => src}/LunaTranslator/rendertext/textbrowser_imp/yinying.py (100%)
rename {LunaTranslator => src}/LunaTranslator/rendertext/webview.html (100%)
rename {LunaTranslator => src}/LunaTranslator/rendertext/webview.py (100%)
rename {LunaTranslator => src}/LunaTranslator/requests.py (100%)
rename {LunaTranslator => src}/LunaTranslator/scalemethod/base.py (100%)
rename {LunaTranslator => src}/LunaTranslator/scalemethod/external_magpie.py (100%)
rename {LunaTranslator => src}/LunaTranslator/scalemethod/magpie_builtin.py (100%)
rename {LunaTranslator => src}/LunaTranslator/textoutput/clipboard.py (100%)
rename {LunaTranslator => src}/LunaTranslator/textoutput/outputerbase.py (100%)
rename {LunaTranslator => src}/LunaTranslator/textoutput/websocket.py (100%)
rename {LunaTranslator => src}/LunaTranslator/textsource/copyboard.py (100%)
rename {LunaTranslator => src}/LunaTranslator/textsource/filetrans.py (100%)
rename {LunaTranslator => src}/LunaTranslator/textsource/ocrtext.py (100%)
rename {LunaTranslator => src}/LunaTranslator/textsource/texthook.py (100%)
rename {LunaTranslator => src}/LunaTranslator/textsource/textsourcebase.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/ModernMt.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/TranslateCom.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/_realtime_edit.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/ali.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/aliyunapi.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/atlas.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/azure.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/baidu.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/baidu_ai.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/baidu_dev.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/baiduapi.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/baiduqianfan.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/basetranslator.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/basetranslator_dev.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/bing.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/bing_dev.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/caiyun.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/caiyunapi.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/chatgpt-3rd-party.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/chatgpt-offline.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/claude.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/cohere.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/commonhookfetchstream.js (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/commonhookxhrstream.js (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/deepl.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/deepl_dev.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/deeplapi-free.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/dev_ali.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/dev_caiyun.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/dev_chatglm.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/dev_chatgpt.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/dev_chatgpt_mirror.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/dev_deepseek.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/dev_duckduckgo.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/dev_llm_common.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/dev_moonshot.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/dev_niutrans.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/dev_qwen.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/dev_sogou.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/dev_theb.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/dev_yandex.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/dev_youdao.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/dreye.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/eztrans.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/feishu.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/gemini.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/google.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/google2.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/google_dev.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/googleapi.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/gptcommon.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/hanshant.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/huoshan.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/huoshanapi.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/hwcloud.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/ibm.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/itrans.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/jb7.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/kingsoft.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/lingva.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/microsoft.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/ort_sp.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/papago.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/premt.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/qqTranSmart.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/qqimt.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/rengong.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/reverso.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/reverso_context.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/sakura.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/selfbuild.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/sougou2.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/sugoix.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/tencentapi.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/txhunyuan.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/xiaoniu.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/yandex.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/yandexapi.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/youdao.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/youdao3.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/youdao5.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/youdaoapi.py (100%)
rename {LunaTranslator => src}/LunaTranslator/translator/youdaodict.py (100%)
rename {LunaTranslator => src}/LunaTranslator/transoptimi/arabic_reshaper.py (100%)
rename {LunaTranslator => src}/LunaTranslator/transoptimi/myprocess.py (100%)
rename {LunaTranslator => src}/LunaTranslator/transoptimi/noundict.py (100%)
rename {LunaTranslator => src}/LunaTranslator/transoptimi/transerrorfix.py (100%)
rename {LunaTranslator => src}/LunaTranslator/transoptimi/vndbnamemap.py (100%)
rename {LunaTranslator => src}/LunaTranslator/tts/NeoSpeech.py (100%)
rename {LunaTranslator => src}/LunaTranslator/tts/basettsclass.py (100%)
rename {LunaTranslator => src}/LunaTranslator/tts/edgetts.py (100%)
rename {LunaTranslator => src}/LunaTranslator/tts/gtts.py (100%)
rename {LunaTranslator => src}/LunaTranslator/tts/huoshantts.py (100%)
rename {LunaTranslator => src}/LunaTranslator/tts/vitsSimpleAPI.py (100%)
rename {LunaTranslator => src}/LunaTranslator/tts/voiceroid2.py (100%)
rename {LunaTranslator => src}/LunaTranslator/tts/voicevox.py (100%)
rename {LunaTranslator => src}/LunaTranslator/tts/windowstts.py (100%)
rename {LunaTranslator => src}/LunaTranslator/tts/youdaotts.py (100%)
rename {LunaTranslator => src}/LunaTranslator/websocket.py (100%)
rename {LunaTranslator => src}/LunaTranslator/windows.py (100%)
rename {LunaTranslator => src}/LunaTranslator/winrtutils.py (100%)
rename {LunaTranslator => src}/LunaTranslator/winsharedutils.py (100%)
rename {LunaTranslator => src}/LunaTranslator/zhconv.py (100%)
rename build.py => src/build.py (84%)
rename {LunaTranslator => src}/files/anki/back.html (100%)
rename {LunaTranslator => src}/files/anki/front.html (100%)
rename {LunaTranslator => src}/files/anki/style.css (100%)
rename {LunaTranslator => src}/files/defaultconfig/config.json (100%)
rename {LunaTranslator => src}/files/defaultconfig/magpie_config.json (100%)
rename {LunaTranslator => src}/files/defaultconfig/ocrerrorfix.json (100%)
rename {LunaTranslator => src}/files/defaultconfig/ocrsetting.json (100%)
rename {LunaTranslator => src}/files/defaultconfig/postprocessconfig.json (100%)
rename {LunaTranslator => src}/files/defaultconfig/static_data.json (100%)
rename {LunaTranslator => src}/files/defaultconfig/transerrorfixdictconfig.json (100%)
rename {LunaTranslator => src}/files/defaultconfig/translatorsetting.json (100%)
rename {LunaTranslator => src}/files/fonts/fontawesome4.7-webfont-charmap.json (100%)
rename {LunaTranslator => src}/files/fonts/fontawesome4.7-webfont.ttf (100%)
rename {LunaTranslator => src}/files/lang/ar.json (100%)
rename {LunaTranslator => src}/files/lang/cht.json (100%)
rename {LunaTranslator => src}/files/lang/cs.json (100%)
rename {LunaTranslator => src}/files/lang/de.json (100%)
rename {LunaTranslator => src}/files/lang/en.json (100%)
rename {LunaTranslator => src}/files/lang/es.json (100%)
rename {LunaTranslator => src}/files/lang/fr.json (100%)
rename {LunaTranslator => src}/files/lang/it.json (100%)
rename {LunaTranslator => src}/files/lang/ja.json (100%)
rename {LunaTranslator => src}/files/lang/ko.json (100%)
rename {LunaTranslator => src}/files/lang/nl.json (100%)
rename {LunaTranslator => src}/files/lang/pl.json (100%)
rename {LunaTranslator => src}/files/lang/pt.json (100%)
rename {LunaTranslator => src}/files/lang/ru.json (100%)
rename {LunaTranslator => src}/files/lang/sv.json (100%)
rename {LunaTranslator => src}/files/lang/th.json (100%)
rename {LunaTranslator => src}/files/lang/tr.json (100%)
rename {LunaTranslator => src}/files/lang/uk.json (100%)
rename {LunaTranslator => src}/files/lang/vi.json (100%)
rename {LunaTranslator => src}/files/lang/zh.json (100%)
rename {LunaTranslator => src}/files/themes/.keepdir (100%)
rename {LunaTranslator => src}/files/zan.jpg (100%)
rename {LunaTranslator => src}/files/zhconv/zhcdict.json (100%)
rename {LunaTranslator => src}/importanalysis.py (100%)
rename {plugins => src/plugins}/CMakeLists.txt (100%)
rename {plugins => src/plugins}/applicationloopbackaudio/CMakeLists.txt (100%)
rename {plugins => src/plugins}/applicationloopbackaudio/Common.h (100%)
rename {plugins => src/plugins}/applicationloopbackaudio/LoopbackCapture.cpp (100%)
rename {plugins => src/plugins}/applicationloopbackaudio/LoopbackCapture.h (100%)
rename {plugins => src/plugins}/applicationloopbackaudio/runer.cpp (100%)
rename {plugins => src/plugins}/common.hpp (100%)
rename {plugins => src/plugins}/exec/.vscode/settings.json (100%)
rename {plugins => src/plugins}/exec/CMakeLists.txt (100%)
rename {plugins => src/plugins}/exec/PyStand.cpp (100%)
rename {plugins => src/plugins}/exec/PyStand.h (100%)
rename {plugins => src/plugins}/exec/luna.ico (100%)
rename {plugins => src/plugins}/exec/luna.rc (100%)
rename {plugins => src/plugins}/hookmagpie/CMakeLists.txt (100%)
rename {plugins => src/plugins}/hookmagpie/hookmagpie.cpp (100%)
rename {plugins => src/plugins}/hookmagpie/veh_hook.cpp (100%)
rename {plugins => src/plugins}/hookmagpie/veh_hook.h (100%)
rename {plugins => src/plugins}/implsapi.cpp (100%)
rename {plugins => src/plugins}/libs/Detours-4.0.1/include/detours.h (100%)
rename {plugins => src/plugins}/libs/Detours-4.0.1/include/detver.h (100%)
rename {plugins => src/plugins}/libs/Detours-4.0.1/include/syelog.h (100%)
rename {plugins => src/plugins}/libs/Detours-4.0.1/lib.X64/detours.lib (100%)
rename {plugins => src/plugins}/libs/Detours-4.0.1/lib.X64/syelog.lib (100%)
rename {plugins => src/plugins}/libs/Detours-4.0.1/lib.X86/detours.lib (100%)
rename {plugins => src/plugins}/libs/Detours-4.0.1/lib.X86/syelog.lib (100%)
rename {plugins => src/plugins}/libs/VC-LTL helper for cmake.cmake (100%)
rename {plugins => src/plugins}/libs/libs.cmake (100%)
rename {plugins => src/plugins}/libs/nlohmann/json.hpp (100%)
rename {plugins => src/plugins}/libs/rapidfuzz-cpp (100%)
rename {plugins => src/plugins}/libs/tinymp3 (100%)
create mode 160000 src/plugins/libs/wechat-ocr
create mode 160000 src/plugins/libs/wil
rename {plugins => src/plugins}/pch.cpp (100%)
rename {plugins => src/plugins}/pch.h (100%)
rename {plugins => src/plugins}/scripts/build32.bat (100%)
rename {plugins => src/plugins}/scripts/build64.bat (100%)
create mode 100644 src/plugins/scripts/copytarget.py
rename {plugins => src/plugins}/scripts/fetchwebview2.py (100%)
rename {plugins => src/plugins}/shareddllproxy/Atlas.cpp (100%)
rename {plugins => src/plugins}/shareddllproxy/Atlas.h (100%)
rename {plugins => src/plugins}/shareddllproxy/CMakeLists.txt (100%)
rename {plugins => src/plugins}/shareddllproxy/LR.cpp (100%)
rename {plugins => src/plugins}/shareddllproxy/aspatch.cpp (100%)
rename {plugins => src/plugins}/shareddllproxy/dllinject.cpp (100%)
rename {plugins => src/plugins}/shareddllproxy/dreye.cpp (100%)
rename {plugins => src/plugins}/shareddllproxy/eztrans.cpp (100%)
rename {plugins => src/plugins}/shareddllproxy/jbj7.cpp (100%)
rename {plugins => src/plugins}/shareddllproxy/kingsoft.cpp (100%)
rename {plugins => src/plugins}/shareddllproxy/le.cpp (100%)
rename {plugins => src/plugins}/shareddllproxy/mp3.cpp (100%)
rename {plugins => src/plugins}/shareddllproxy/neospeech.cpp (100%)
rename {plugins => src/plugins}/shareddllproxy/ntleas.cpp (100%)
rename {plugins => src/plugins}/shareddllproxy/shareddllproxy.cpp (100%)
rename {plugins => src/plugins}/shareddllproxy/update.cpp (100%)
rename {plugins => src/plugins}/shareddllproxy/voiceroid2/CMakeLists.txt (100%)
rename {plugins => src/plugins}/shareddllproxy/voiceroid2/api_adapter.cc (100%)
rename {plugins => src/plugins}/shareddllproxy/voiceroid2/api_adapter.h (100%)
rename {plugins => src/plugins}/shareddllproxy/voiceroid2/api_settings.cc (100%)
rename {plugins => src/plugins}/shareddllproxy/voiceroid2/api_settings.h (100%)
rename {plugins => src/plugins}/shareddllproxy/voiceroid2/ebyroid.cc (100%)
rename {plugins => src/plugins}/shareddllproxy/voiceroid2/ebyroid.h (100%)
rename {plugins => src/plugins}/shareddllproxy/voiceroid2/ebyutil.h (100%)
rename {plugins => src/plugins}/shareddllproxy/voiceroid2/types.h (100%)
rename {plugins => src/plugins}/shareddllproxy/voiceroid2/voice2.cpp (100%)
rename {plugins => src/plugins}/version/VersionInfo.in (100%)
rename {plugins => src/plugins}/version/VersionResource.rc (100%)
rename {plugins => src/plugins}/version/generate_product_version.cmake (100%)
rename {plugins => src/plugins}/wcocr/CMakeLists.txt (100%)
rename {plugins => src/plugins}/wcocr/wcocr.cpp (100%)
rename {plugins => src/plugins}/winrtutils/CMakeLists.txt (100%)
rename {plugins => src/plugins}/winrtutils/define.h (100%)
rename {plugins => src/plugins}/winrtutils/dllmain.cpp (100%)
rename {plugins => src/plugins}/winrtutils/winrtocr.cpp (100%)
rename {plugins => src/plugins}/winrtutils/winrtsnapshot.cpp (100%)
rename {plugins => src/plugins}/winsharedutils/AreoAcrylic.cpp (100%)
rename {plugins => src/plugins}/winsharedutils/BMP.h (100%)
rename {plugins => src/plugins}/winsharedutils/CMakeLists.txt (100%)
rename {plugins => src/plugins}/winsharedutils/MWebBrowser.cpp (100%)
rename {plugins => src/plugins}/winsharedutils/MWebBrowser.hpp (100%)
rename {plugins => src/plugins}/winsharedutils/SimpleBrowser.cpp (100%)
rename {plugins => src/plugins}/winsharedutils/audio.cpp (100%)
rename {plugins => src/plugins}/winsharedutils/clipboard.cpp (100%)
rename {plugins => src/plugins}/winsharedutils/define.h (100%)
rename {plugins => src/plugins}/winsharedutils/dllmain.cpp (100%)
rename {plugins => src/plugins}/winsharedutils/globalmessagelistener.cpp (100%)
rename {plugins => src/plugins}/winsharedutils/hwnd.cpp (100%)
rename {plugins => src/plugins}/winsharedutils/icon.cpp (100%)
rename {plugins => src/plugins}/winsharedutils/levenshtein.cpp (100%)
rename {plugins => src/plugins}/winsharedutils/lnk.cpp (100%)
rename {plugins => src/plugins}/winsharedutils/mp3enc.cpp (100%)
rename {plugins => src/plugins}/winsharedutils/muteprocess.cpp (100%)
rename {plugins => src/plugins}/winsharedutils/otsu.cpp (100%)
rename {plugins => src/plugins}/winsharedutils/sapi_dll.cpp (100%)
rename {plugins => src/plugins}/winsharedutils/screenshot.cpp (100%)
rename {plugins => src/plugins}/winsharedutils/simplemecab.cpp (100%)
rename {plugins => src/plugins}/winsharedutils/theme.cpp (100%)
rename {plugins => src/plugins}/winsharedutils/version.cpp (100%)
rename {plugins => src/plugins}/winsharedutils/webview2_extra.cpp (100%)
rename {LunaTranslator => src}/requirements.txt (100%)
rename {LunaTranslator => src}/requirements_qt6.txt (100%)
rename {LunaTranslator => src}/retrieval.py (96%)
rename {LunaTranslator => src}/run.bat (100%)
rename {LunaTranslator => src}/trans_lang.py (100%)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index fc00ab8d..42eb9658 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -2,9 +2,9 @@ name: build
on:
push:
- paths: [ '.github/workflows/build.yml','build.py', 'LunaTranslator/**' , 'plugins/**' ]
+ paths: [ '.github/workflows/build.yml','src/**']
pull_request:
- paths: [ '.github/workflows/build.yml','build.py', 'LunaTranslator/**' , 'plugins/**']
+ paths: [ '.github/workflows/build.yml','src/**']
jobs:
build:
@@ -36,8 +36,8 @@ jobs:
- name: Run build script
run: |
- python build.py ${{ matrix.architecture }} 3.7.9
+ python src/build.py ${{ matrix.architecture }} 3.7.9
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.fname }}
- path: build/${{ matrix.fname }}.zip
+ path: src/build/${{ matrix.fname }}.zip
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 0e5f52f0..3cde12a1 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -35,7 +35,7 @@ jobs:
python-version: '3.11'
- name: Run build script
run: |
- python build.py ${{ matrix.architecture }} 3.7.9
+ python src/build.py ${{ matrix.architecture }} 3.7.9
# - name: Generate attestation for artifact
# uses: actions/attest-build-provenance@v1
# with:
@@ -47,13 +47,13 @@ jobs:
- name: loadversion
id: loadversion
- run: python build.py loadversion | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append
+ run: python src/build.py loadversion | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append
- name: Release LunaTranslator
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.loadversion.outputs.version }}
files: |
- build/${{ matrix.fname }}.zip
- build/${{ matrix.fname }}.exe
+ src/build/${{ matrix.fname }}.zip
+ src/build/${{ matrix.fname }}.exe
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.gitignore b/.gitignore
index 5618249f..5093697d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,4 @@
-LunaTranslator/userconfig
-LunaTranslator/userconfig1
-lunatranslator/cache
*.pyc
*.pyc
*.pyc
@@ -22,25 +19,6 @@ Thumbs.db
*.wav
build/
-plugins/libs/webview2
-plugins/builds
-plugins/build
temp/
-
-LunaTranslator/files/plugins
-LunaTranslator/files/ocr
-LunaTranslator/files/data
-LunaTranslator/chrome_cache
-plugins/.vscode/settings.json
-
-LunaTranslator/files/themes
-LunaTranslator/LunaTranslator/rendertext/luna.png
-LunaTranslator/run37.bat
-LunaTranslator/run3732.bat
-LunaTranslator/run38.bat
-LunaTranslator/run3832.bat
-LunaTranslator/logs
-LunaTranslator/LunaTranslator/.vscode/settings.json
-.vscode/settings.json
-LunaTranslator/translation_record
+.vscode/settings.json
\ No newline at end of file
diff --git a/.gitmodules b/.gitmodules
index d2824687..ffe4513c 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,12 +1,12 @@
-[submodule "plugins/libs/wil"]
- path = plugins/libs/wil
+[submodule "src/plugins/libs/wil"]
+ path = src/plugins/libs/wil
url = https://github.com/microsoft/wil.git
-[submodule "plugins/libs/tinymp3"]
- path = plugins/libs/tinymp3
- url = https://github.com/cpuimage/tinymp3
-[submodule "plugins/libs/rapidfuzz-cpp"]
- path = plugins/libs/rapidfuzz-cpp
+[submodule "src/plugins/libs/rapidfuzz-cpp"]
+ path = src/plugins/libs/rapidfuzz-cpp
url = https://github.com/rapidfuzz/rapidfuzz-cpp
-[submodule "plugins/libs/wechat-ocr"]
- path = plugins/libs/wechat-ocr
+[submodule "src/plugins/libs/wechat-ocr"]
+ path = src/plugins/libs/wechat-ocr
url = https://github.com/swigger/wechat-ocr
+[submodule "src/plugins/libs/tinymp3"]
+ path = src/plugins/libs/tinymp3
+ url = https://github.com/HIllya51/tinymp3
diff --git a/README.md b/README.md
index a173ceb4..4647eac3 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@
### [使用说明](https://docs.lunatranslator.org/#/zh/) [视频教程](https://space.bilibili.com/592120404/video)
-### 简体中文 | [English](README_en.md) | [Русский язык](README_ru.md) | [Other Language](otherlang.md)
+### 简体中文 | [English](docs/other/README_en.md) | [Русский язык](docs/other/README_ru.md) | [Other Language](docs/other/otherlang.md)
> **一款galgame翻译器**
@@ -93,5 +93,5 @@
如果你感觉该软件对你有帮助,欢迎微信扫码赞助,谢谢,么么哒~
-
+
diff --git a/README_en.md b/docs/other/README_en.md
similarity index 96%
rename from README_en.md
rename to docs/other/README_en.md
index d3e2848f..9c03ef4a 100644
--- a/README_en.md
+++ b/docs/other/README_en.md
@@ -9,7 +9,7 @@
### [User Manual](https://docs.lunatranslator.org/#/zh/)
-### [简体中文](README.md) | English | [Русский язык](README_ru.md) | [Other Language](otherlang.md)
+### [简体中文](../../README.md) | English | [Русский язык](README_ru.md) | [Other Language](otherlang.md)
> **A galgame translation tool**
diff --git a/README_ru.md b/docs/other/README_ru.md
similarity index 97%
rename from README_ru.md
rename to docs/other/README_ru.md
index 1273352a..96075547 100644
--- a/README_ru.md
+++ b/docs/other/README_ru.md
@@ -9,7 +9,7 @@
### [Инструкция по использованию](https://docs.lunatranslator.org/#/ru/)
-### [简体中文](README.md) | [English](README_en.md) | Русский язык | [Other Language](otherlang.md)
+### [简体中文](../../README.md) | [English](README_en.md) | Русский язык | [Other Language](otherlang.md)
> **Транслятор для galgame**
diff --git a/docs/other/otherlang.md b/docs/other/otherlang.md
new file mode 100644
index 00000000..e1862755
--- /dev/null
+++ b/docs/other/otherlang.md
@@ -0,0 +1,8 @@
+
+Now this program supports [简体中文]() | [日本語](../../src/files/lang/ja.json) | [繁體中文](../../src/files/lang/cht.json) | [English](../../src/files/lang/en.json) | [Русский язык](../../src/files/lang/ru.json) | [Español](../../src/files/lang/es.json) | [한국어](../../src/files/lang/ko.json) | [Français](../../src/files/lang/fr.json) | [Tiếng Việt](../../src/files/lang/vi.json) | [Türkçe](../../src/files/lang/tr.json) | [Polski](../../src/files/lang/pl.json) | [Українська Мова](../../src/files/lang/uk.json) | [Italiano](../../src/files/lang/it.json) | [ภาษาไทย](../../src/files/lang/th.json) | [Deutsch](../../src/files/lang/de.json) | [Svenska](../../src/files/lang/sv.json) | [Nederlands](../../src/files/lang/nl.json) | [Čeština](../../src/files/lang/cs.json) | [Português](../../src/files/lang/pt.json)
+
+Most of them are machine translated from Chinese.
+
+You can ask for other language support of machine translation, or you can translate manually to get more accurate translation.
+
+To translate manually, you can access the directory [files/lang](../../src/files/lang) to find the language file of you language, and adjust the unsatisfactory translations.
diff --git a/otherlang.md b/otherlang.md
deleted file mode 100644
index 1b9c2f83..00000000
--- a/otherlang.md
+++ /dev/null
@@ -1,8 +0,0 @@
-
-Now this program supports [简体中文]() | [日本語](LunaTranslator/files/lang/ja.json) | [繁體中文](LunaTranslator/files/lang/cht.json) | [English](LunaTranslator/files/lang/en.json) | [Русский язык](LunaTranslator/files/lang/ru.json) | [Español](LunaTranslator/files/lang/es.json) | [한국어](LunaTranslator/files/lang/ko.json) | [Français](LunaTranslator/files/lang/fr.json) | [Tiếng Việt](LunaTranslator/files/lang/vi.json) | [Türkçe](LunaTranslator/files/lang/tr.json) | [Polski](LunaTranslator/files/lang/pl.json) | [Українська Мова](LunaTranslator/files/lang/uk.json) | [Italiano](LunaTranslator/files/lang/it.json) | [ภาษาไทย](LunaTranslator/files/lang/th.json) | [Deutsch](LunaTranslator/files/lang/de.json) | [Svenska](LunaTranslator/files/lang/sv.json) | [Nederlands](LunaTranslator/files/lang/nl.json) | [Čeština](LunaTranslator/files/lang/cs.json) | [Português](LunaTranslator/files/lang/pt.json)
-
-Most of them are machine translated from Chinese.
-
-You can ask for other language support of machine translation, or you can translate manually to get more accurate translation.
-
-To translate manually, you can access the directory [files/lang](LunaTranslator/files/lang) to find the language file of you language, and adjust the unsatisfactory translations.
diff --git a/plugins/libs/wechat-ocr b/plugins/libs/wechat-ocr
deleted file mode 160000
index ec76d84b..00000000
--- a/plugins/libs/wechat-ocr
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit ec76d84b950b68e5c3e2a06bc3d62f28bd06e19f
diff --git a/plugins/libs/wil b/plugins/libs/wil
deleted file mode 160000
index e60e004e..00000000
--- a/plugins/libs/wil
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit e60e004e13069eb9ea54ace08c3760da179f125d
diff --git a/plugins/scripts/copytarget.py b/plugins/scripts/copytarget.py
deleted file mode 100644
index d0b9b065..00000000
--- a/plugins/scripts/copytarget.py
+++ /dev/null
@@ -1,15 +0,0 @@
-import shutil,sys
-x86=int(sys.argv[1])
-if x86:
- shutil.copy('../builds/_x86/shareddllproxy32.exe','../../LunaTranslator/files/plugins')
- shutil.copy('../builds/_x86/loopbackaudio.dll','../../LunaTranslator/files/plugins/DLL32')
- shutil.copy('../builds/_x86/winrtutils32.dll','../../LunaTranslator/files/plugins/DLL32')
- shutil.copy('../builds/_x86/winsharedutils32.dll','../../LunaTranslator/files/plugins/DLL32')
- shutil.copy('../builds/_x86/wcocr.dll','../../LunaTranslator/files/plugins/DLL32')
-else:
- shutil.copy('../builds/_x64/shareddllproxy64.exe','../../LunaTranslator/files/plugins')
- shutil.copy('../builds/_x64/loopbackaudio.dll','../../LunaTranslator/files/plugins/DLL64')
- shutil.copy('../builds/_x64/hookmagpie.dll','../../LunaTranslator/files/plugins')
- shutil.copy('../builds/_x64/winrtutils64.dll','../../LunaTranslator/files/plugins/DLL64')
- shutil.copy('../builds/_x64/winsharedutils64.dll','../../LunaTranslator/files/plugins/DLL64')
- shutil.copy('../builds/_x64/wcocr.dll','../../LunaTranslator/files/plugins/DLL64')
diff --git a/LunaTranslator/LunaTranslator/LunaTranslator.py b/src/LunaTranslator/LunaTranslator.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/LunaTranslator.py
rename to src/LunaTranslator/LunaTranslator.py
diff --git a/LunaTranslator/LunaTranslator/LunaTranslator_main.py b/src/LunaTranslator/LunaTranslator_main.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/LunaTranslator_main.py
rename to src/LunaTranslator/LunaTranslator_main.py
diff --git a/LunaTranslator/LunaTranslator/__init__.py b/src/LunaTranslator/__init__.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/__init__.py
rename to src/LunaTranslator/__init__.py
diff --git a/LunaTranslator/LunaTranslator/cishu/cishubase.py b/src/LunaTranslator/cishu/cishubase.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/cishu/cishubase.py
rename to src/LunaTranslator/cishu/cishubase.py
diff --git a/LunaTranslator/LunaTranslator/cishu/edict.py b/src/LunaTranslator/cishu/edict.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/cishu/edict.py
rename to src/LunaTranslator/cishu/edict.py
diff --git a/LunaTranslator/LunaTranslator/cishu/edict2.py b/src/LunaTranslator/cishu/edict2.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/cishu/edict2.py
rename to src/LunaTranslator/cishu/edict2.py
diff --git a/LunaTranslator/LunaTranslator/cishu/goo.py b/src/LunaTranslator/cishu/goo.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/cishu/goo.py
rename to src/LunaTranslator/cishu/goo.py
diff --git a/LunaTranslator/LunaTranslator/cishu/jisho.py b/src/LunaTranslator/cishu/jisho.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/cishu/jisho.py
rename to src/LunaTranslator/cishu/jisho.py
diff --git a/LunaTranslator/LunaTranslator/cishu/linggesi.py b/src/LunaTranslator/cishu/linggesi.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/cishu/linggesi.py
rename to src/LunaTranslator/cishu/linggesi.py
diff --git a/LunaTranslator/LunaTranslator/cishu/mdict.py b/src/LunaTranslator/cishu/mdict.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/cishu/mdict.py
rename to src/LunaTranslator/cishu/mdict.py
diff --git a/LunaTranslator/LunaTranslator/cishu/mojidict.py b/src/LunaTranslator/cishu/mojidict.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/cishu/mojidict.py
rename to src/LunaTranslator/cishu/mojidict.py
diff --git a/LunaTranslator/LunaTranslator/cishu/weblio.py b/src/LunaTranslator/cishu/weblio.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/cishu/weblio.py
rename to src/LunaTranslator/cishu/weblio.py
diff --git a/LunaTranslator/LunaTranslator/cishu/xiaoxueguan.py b/src/LunaTranslator/cishu/xiaoxueguan.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/cishu/xiaoxueguan.py
rename to src/LunaTranslator/cishu/xiaoxueguan.py
diff --git a/LunaTranslator/LunaTranslator/cishu/youdao.py b/src/LunaTranslator/cishu/youdao.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/cishu/youdao.py
rename to src/LunaTranslator/cishu/youdao.py
diff --git a/LunaTranslator/LunaTranslator/gobject.py b/src/LunaTranslator/gobject.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gobject.py
rename to src/LunaTranslator/gobject.py
diff --git a/LunaTranslator/LunaTranslator/gui/attachprocessdialog.py b/src/LunaTranslator/gui/attachprocessdialog.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/attachprocessdialog.py
rename to src/LunaTranslator/gui/attachprocessdialog.py
diff --git a/LunaTranslator/LunaTranslator/gui/codeacceptdialog.py b/src/LunaTranslator/gui/codeacceptdialog.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/codeacceptdialog.py
rename to src/LunaTranslator/gui/codeacceptdialog.py
diff --git a/LunaTranslator/LunaTranslator/gui/dialog_memory.py b/src/LunaTranslator/gui/dialog_memory.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/dialog_memory.py
rename to src/LunaTranslator/gui/dialog_memory.py
diff --git a/LunaTranslator/LunaTranslator/gui/dialog_savedgame.py b/src/LunaTranslator/gui/dialog_savedgame.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/dialog_savedgame.py
rename to src/LunaTranslator/gui/dialog_savedgame.py
diff --git a/LunaTranslator/LunaTranslator/gui/dialog_savedgame_common.py b/src/LunaTranslator/gui/dialog_savedgame_common.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/dialog_savedgame_common.py
rename to src/LunaTranslator/gui/dialog_savedgame_common.py
diff --git a/LunaTranslator/LunaTranslator/gui/dialog_savedgame_legacy.py b/src/LunaTranslator/gui/dialog_savedgame_legacy.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/dialog_savedgame_legacy.py
rename to src/LunaTranslator/gui/dialog_savedgame_legacy.py
diff --git a/LunaTranslator/LunaTranslator/gui/dialog_savedgame_setting.py b/src/LunaTranslator/gui/dialog_savedgame_setting.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/dialog_savedgame_setting.py
rename to src/LunaTranslator/gui/dialog_savedgame_setting.py
diff --git a/LunaTranslator/LunaTranslator/gui/dialog_savedgame_v3.py b/src/LunaTranslator/gui/dialog_savedgame_v3.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/dialog_savedgame_v3.py
rename to src/LunaTranslator/gui/dialog_savedgame_v3.py
diff --git a/LunaTranslator/LunaTranslator/gui/dynalang.py b/src/LunaTranslator/gui/dynalang.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/dynalang.py
rename to src/LunaTranslator/gui/dynalang.py
diff --git a/LunaTranslator/LunaTranslator/gui/edittext.py b/src/LunaTranslator/gui/edittext.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/edittext.py
rename to src/LunaTranslator/gui/edittext.py
diff --git a/LunaTranslator/LunaTranslator/gui/inputdialog.py b/src/LunaTranslator/gui/inputdialog.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/inputdialog.py
rename to src/LunaTranslator/gui/inputdialog.py
diff --git a/LunaTranslator/LunaTranslator/gui/pretransfile.py b/src/LunaTranslator/gui/pretransfile.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/pretransfile.py
rename to src/LunaTranslator/gui/pretransfile.py
diff --git a/LunaTranslator/LunaTranslator/gui/rangeselect.py b/src/LunaTranslator/gui/rangeselect.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/rangeselect.py
rename to src/LunaTranslator/gui/rangeselect.py
diff --git a/LunaTranslator/LunaTranslator/gui/resizeablemainwindow.py b/src/LunaTranslator/gui/resizeablemainwindow.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/resizeablemainwindow.py
rename to src/LunaTranslator/gui/resizeablemainwindow.py
diff --git a/LunaTranslator/LunaTranslator/gui/selecthook.py b/src/LunaTranslator/gui/selecthook.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/selecthook.py
rename to src/LunaTranslator/gui/selecthook.py
diff --git a/LunaTranslator/LunaTranslator/gui/setting.py b/src/LunaTranslator/gui/setting.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/setting.py
rename to src/LunaTranslator/gui/setting.py
diff --git a/LunaTranslator/LunaTranslator/gui/setting_about.py b/src/LunaTranslator/gui/setting_about.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/setting_about.py
rename to src/LunaTranslator/gui/setting_about.py
diff --git a/LunaTranslator/LunaTranslator/gui/setting_cishu.py b/src/LunaTranslator/gui/setting_cishu.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/setting_cishu.py
rename to src/LunaTranslator/gui/setting_cishu.py
diff --git a/LunaTranslator/LunaTranslator/gui/setting_display.py b/src/LunaTranslator/gui/setting_display.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/setting_display.py
rename to src/LunaTranslator/gui/setting_display.py
diff --git a/LunaTranslator/LunaTranslator/gui/setting_display_buttons.py b/src/LunaTranslator/gui/setting_display_buttons.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/setting_display_buttons.py
rename to src/LunaTranslator/gui/setting_display_buttons.py
diff --git a/LunaTranslator/LunaTranslator/gui/setting_display_scale.py b/src/LunaTranslator/gui/setting_display_scale.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/setting_display_scale.py
rename to src/LunaTranslator/gui/setting_display_scale.py
diff --git a/LunaTranslator/LunaTranslator/gui/setting_display_text.py b/src/LunaTranslator/gui/setting_display_text.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/setting_display_text.py
rename to src/LunaTranslator/gui/setting_display_text.py
diff --git a/LunaTranslator/LunaTranslator/gui/setting_display_ui.py b/src/LunaTranslator/gui/setting_display_ui.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/setting_display_ui.py
rename to src/LunaTranslator/gui/setting_display_ui.py
diff --git a/LunaTranslator/LunaTranslator/gui/setting_hotkey.py b/src/LunaTranslator/gui/setting_hotkey.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/setting_hotkey.py
rename to src/LunaTranslator/gui/setting_hotkey.py
diff --git a/LunaTranslator/LunaTranslator/gui/setting_lang.py b/src/LunaTranslator/gui/setting_lang.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/setting_lang.py
rename to src/LunaTranslator/gui/setting_lang.py
diff --git a/LunaTranslator/LunaTranslator/gui/setting_proxy.py b/src/LunaTranslator/gui/setting_proxy.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/setting_proxy.py
rename to src/LunaTranslator/gui/setting_proxy.py
diff --git a/LunaTranslator/LunaTranslator/gui/setting_textinput.py b/src/LunaTranslator/gui/setting_textinput.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/setting_textinput.py
rename to src/LunaTranslator/gui/setting_textinput.py
diff --git a/LunaTranslator/LunaTranslator/gui/setting_textinput_ocr.py b/src/LunaTranslator/gui/setting_textinput_ocr.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/setting_textinput_ocr.py
rename to src/LunaTranslator/gui/setting_textinput_ocr.py
diff --git a/LunaTranslator/LunaTranslator/gui/setting_translate.py b/src/LunaTranslator/gui/setting_translate.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/setting_translate.py
rename to src/LunaTranslator/gui/setting_translate.py
diff --git a/LunaTranslator/LunaTranslator/gui/setting_transopti.py b/src/LunaTranslator/gui/setting_transopti.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/setting_transopti.py
rename to src/LunaTranslator/gui/setting_transopti.py
diff --git a/LunaTranslator/LunaTranslator/gui/setting_tts.py b/src/LunaTranslator/gui/setting_tts.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/setting_tts.py
rename to src/LunaTranslator/gui/setting_tts.py
diff --git a/LunaTranslator/LunaTranslator/gui/showword.py b/src/LunaTranslator/gui/showword.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/showword.py
rename to src/LunaTranslator/gui/showword.py
diff --git a/LunaTranslator/LunaTranslator/gui/specialwidget.py b/src/LunaTranslator/gui/specialwidget.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/specialwidget.py
rename to src/LunaTranslator/gui/specialwidget.py
diff --git a/LunaTranslator/LunaTranslator/gui/textbrowser.py b/src/LunaTranslator/gui/textbrowser.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/textbrowser.py
rename to src/LunaTranslator/gui/textbrowser.py
diff --git a/LunaTranslator/LunaTranslator/gui/transhist.py b/src/LunaTranslator/gui/transhist.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/transhist.py
rename to src/LunaTranslator/gui/transhist.py
diff --git a/LunaTranslator/LunaTranslator/gui/translatorUI.py b/src/LunaTranslator/gui/translatorUI.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/translatorUI.py
rename to src/LunaTranslator/gui/translatorUI.py
diff --git a/LunaTranslator/LunaTranslator/gui/usefulwidget.py b/src/LunaTranslator/gui/usefulwidget.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/gui/usefulwidget.py
rename to src/LunaTranslator/gui/usefulwidget.py
diff --git a/LunaTranslator/LunaTranslator/hiraparse/basehira.py b/src/LunaTranslator/hiraparse/basehira.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/hiraparse/basehira.py
rename to src/LunaTranslator/hiraparse/basehira.py
diff --git a/LunaTranslator/LunaTranslator/hiraparse/latin.py b/src/LunaTranslator/hiraparse/latin.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/hiraparse/latin.py
rename to src/LunaTranslator/hiraparse/latin.py
diff --git a/LunaTranslator/LunaTranslator/hiraparse/mecab.py b/src/LunaTranslator/hiraparse/mecab.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/hiraparse/mecab.py
rename to src/LunaTranslator/hiraparse/mecab.py
diff --git a/LunaTranslator/LunaTranslator/keeprefs.py b/src/LunaTranslator/keeprefs.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/keeprefs.py
rename to src/LunaTranslator/keeprefs.py
diff --git a/LunaTranslator/LunaTranslator/metadata/abstract.py b/src/LunaTranslator/metadata/abstract.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/metadata/abstract.py
rename to src/LunaTranslator/metadata/abstract.py
diff --git a/LunaTranslator/LunaTranslator/metadata/bangumi.py b/src/LunaTranslator/metadata/bangumi.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/metadata/bangumi.py
rename to src/LunaTranslator/metadata/bangumi.py
diff --git a/LunaTranslator/LunaTranslator/metadata/dlsite.py b/src/LunaTranslator/metadata/dlsite.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/metadata/dlsite.py
rename to src/LunaTranslator/metadata/dlsite.py
diff --git a/LunaTranslator/LunaTranslator/metadata/fanza.py b/src/LunaTranslator/metadata/fanza.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/metadata/fanza.py
rename to src/LunaTranslator/metadata/fanza.py
diff --git a/LunaTranslator/LunaTranslator/metadata/steam.py b/src/LunaTranslator/metadata/steam.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/metadata/steam.py
rename to src/LunaTranslator/metadata/steam.py
diff --git a/LunaTranslator/LunaTranslator/metadata/vndb.py b/src/LunaTranslator/metadata/vndb.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/metadata/vndb.py
rename to src/LunaTranslator/metadata/vndb.py
diff --git a/LunaTranslator/LunaTranslator/myutils/ankiconnect.py b/src/LunaTranslator/myutils/ankiconnect.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/myutils/ankiconnect.py
rename to src/LunaTranslator/myutils/ankiconnect.py
diff --git a/LunaTranslator/LunaTranslator/myutils/audioplayer.py b/src/LunaTranslator/myutils/audioplayer.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/myutils/audioplayer.py
rename to src/LunaTranslator/myutils/audioplayer.py
diff --git a/LunaTranslator/LunaTranslator/myutils/commonbase.py b/src/LunaTranslator/myutils/commonbase.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/myutils/commonbase.py
rename to src/LunaTranslator/myutils/commonbase.py
diff --git a/LunaTranslator/LunaTranslator/myutils/config.py b/src/LunaTranslator/myutils/config.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/myutils/config.py
rename to src/LunaTranslator/myutils/config.py
diff --git a/LunaTranslator/LunaTranslator/myutils/hwnd.py b/src/LunaTranslator/myutils/hwnd.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/myutils/hwnd.py
rename to src/LunaTranslator/myutils/hwnd.py
diff --git a/LunaTranslator/LunaTranslator/myutils/localetools.py b/src/LunaTranslator/myutils/localetools.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/myutils/localetools.py
rename to src/LunaTranslator/myutils/localetools.py
diff --git a/LunaTranslator/LunaTranslator/myutils/ocrutil.py b/src/LunaTranslator/myutils/ocrutil.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/myutils/ocrutil.py
rename to src/LunaTranslator/myutils/ocrutil.py
diff --git a/LunaTranslator/LunaTranslator/myutils/post.py b/src/LunaTranslator/myutils/post.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/myutils/post.py
rename to src/LunaTranslator/myutils/post.py
diff --git a/LunaTranslator/LunaTranslator/myutils/proxy.py b/src/LunaTranslator/myutils/proxy.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/myutils/proxy.py
rename to src/LunaTranslator/myutils/proxy.py
diff --git a/LunaTranslator/LunaTranslator/myutils/subproc.py b/src/LunaTranslator/myutils/subproc.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/myutils/subproc.py
rename to src/LunaTranslator/myutils/subproc.py
diff --git a/LunaTranslator/LunaTranslator/myutils/template/mypost.py b/src/LunaTranslator/myutils/template/mypost.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/myutils/template/mypost.py
rename to src/LunaTranslator/myutils/template/mypost.py
diff --git a/LunaTranslator/LunaTranslator/myutils/template/myprocess.py b/src/LunaTranslator/myutils/template/myprocess.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/myutils/template/myprocess.py
rename to src/LunaTranslator/myutils/template/myprocess.py
diff --git a/LunaTranslator/LunaTranslator/myutils/template/selfbuild.py b/src/LunaTranslator/myutils/template/selfbuild.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/myutils/template/selfbuild.py
rename to src/LunaTranslator/myutils/template/selfbuild.py
diff --git a/LunaTranslator/LunaTranslator/myutils/traceplaytime.py b/src/LunaTranslator/myutils/traceplaytime.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/myutils/traceplaytime.py
rename to src/LunaTranslator/myutils/traceplaytime.py
diff --git a/LunaTranslator/LunaTranslator/myutils/utils.py b/src/LunaTranslator/myutils/utils.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/myutils/utils.py
rename to src/LunaTranslator/myutils/utils.py
diff --git a/LunaTranslator/LunaTranslator/myutils/winsyshotkey.py b/src/LunaTranslator/myutils/winsyshotkey.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/myutils/winsyshotkey.py
rename to src/LunaTranslator/myutils/winsyshotkey.py
diff --git a/LunaTranslator/LunaTranslator/myutils/wrapper.py b/src/LunaTranslator/myutils/wrapper.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/myutils/wrapper.py
rename to src/LunaTranslator/myutils/wrapper.py
diff --git a/LunaTranslator/LunaTranslator/network/libcurl/libcurl.py b/src/LunaTranslator/network/libcurl/libcurl.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/network/libcurl/libcurl.py
rename to src/LunaTranslator/network/libcurl/libcurl.py
diff --git a/LunaTranslator/LunaTranslator/network/libcurl/requester.py b/src/LunaTranslator/network/libcurl/requester.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/network/libcurl/requester.py
rename to src/LunaTranslator/network/libcurl/requester.py
diff --git a/LunaTranslator/LunaTranslator/network/libcurl/websocket.py b/src/LunaTranslator/network/libcurl/websocket.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/network/libcurl/websocket.py
rename to src/LunaTranslator/network/libcurl/websocket.py
diff --git a/LunaTranslator/LunaTranslator/network/winhttp/brotli_dec.py b/src/LunaTranslator/network/winhttp/brotli_dec.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/network/winhttp/brotli_dec.py
rename to src/LunaTranslator/network/winhttp/brotli_dec.py
diff --git a/LunaTranslator/LunaTranslator/network/winhttp/requester.py b/src/LunaTranslator/network/winhttp/requester.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/network/winhttp/requester.py
rename to src/LunaTranslator/network/winhttp/requester.py
diff --git a/LunaTranslator/LunaTranslator/network/winhttp/websocket.py b/src/LunaTranslator/network/winhttp/websocket.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/network/winhttp/websocket.py
rename to src/LunaTranslator/network/winhttp/websocket.py
diff --git a/LunaTranslator/LunaTranslator/network/winhttp/winhttp.py b/src/LunaTranslator/network/winhttp/winhttp.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/network/winhttp/winhttp.py
rename to src/LunaTranslator/network/winhttp/winhttp.py
diff --git a/LunaTranslator/LunaTranslator/ocrengines/baiduocr_X.py b/src/LunaTranslator/ocrengines/baiduocr_X.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/ocrengines/baiduocr_X.py
rename to src/LunaTranslator/ocrengines/baiduocr_X.py
diff --git a/LunaTranslator/LunaTranslator/ocrengines/baseocrclass.py b/src/LunaTranslator/ocrengines/baseocrclass.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/ocrengines/baseocrclass.py
rename to src/LunaTranslator/ocrengines/baseocrclass.py
diff --git a/LunaTranslator/LunaTranslator/ocrengines/chatgptlike.py b/src/LunaTranslator/ocrengines/chatgptlike.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/ocrengines/chatgptlike.py
rename to src/LunaTranslator/ocrengines/chatgptlike.py
diff --git a/LunaTranslator/LunaTranslator/ocrengines/docsumo.py b/src/LunaTranslator/ocrengines/docsumo.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/ocrengines/docsumo.py
rename to src/LunaTranslator/ocrengines/docsumo.py
diff --git a/LunaTranslator/LunaTranslator/ocrengines/feishu.py b/src/LunaTranslator/ocrengines/feishu.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/ocrengines/feishu.py
rename to src/LunaTranslator/ocrengines/feishu.py
diff --git a/LunaTranslator/LunaTranslator/ocrengines/geminiocr.py b/src/LunaTranslator/ocrengines/geminiocr.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/ocrengines/geminiocr.py
rename to src/LunaTranslator/ocrengines/geminiocr.py
diff --git a/LunaTranslator/LunaTranslator/ocrengines/googlecloudvision.py b/src/LunaTranslator/ocrengines/googlecloudvision.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/ocrengines/googlecloudvision.py
rename to src/LunaTranslator/ocrengines/googlecloudvision.py
diff --git a/LunaTranslator/LunaTranslator/ocrengines/googlelens.py b/src/LunaTranslator/ocrengines/googlelens.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/ocrengines/googlelens.py
rename to src/LunaTranslator/ocrengines/googlelens.py
diff --git a/LunaTranslator/LunaTranslator/ocrengines/local.py b/src/LunaTranslator/ocrengines/local.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/ocrengines/local.py
rename to src/LunaTranslator/ocrengines/local.py
diff --git a/LunaTranslator/LunaTranslator/ocrengines/mangaocr.py b/src/LunaTranslator/ocrengines/mangaocr.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/ocrengines/mangaocr.py
rename to src/LunaTranslator/ocrengines/mangaocr.py
diff --git a/LunaTranslator/LunaTranslator/ocrengines/ocrspace.py b/src/LunaTranslator/ocrengines/ocrspace.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/ocrengines/ocrspace.py
rename to src/LunaTranslator/ocrengines/ocrspace.py
diff --git a/LunaTranslator/LunaTranslator/ocrengines/tesseract5.py b/src/LunaTranslator/ocrengines/tesseract5.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/ocrengines/tesseract5.py
rename to src/LunaTranslator/ocrengines/tesseract5.py
diff --git a/LunaTranslator/LunaTranslator/ocrengines/txocr.py b/src/LunaTranslator/ocrengines/txocr.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/ocrengines/txocr.py
rename to src/LunaTranslator/ocrengines/txocr.py
diff --git a/LunaTranslator/LunaTranslator/ocrengines/volcengine.py b/src/LunaTranslator/ocrengines/volcengine.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/ocrengines/volcengine.py
rename to src/LunaTranslator/ocrengines/volcengine.py
diff --git a/LunaTranslator/LunaTranslator/ocrengines/weixinocr.py b/src/LunaTranslator/ocrengines/weixinocr.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/ocrengines/weixinocr.py
rename to src/LunaTranslator/ocrengines/weixinocr.py
diff --git a/LunaTranslator/LunaTranslator/ocrengines/windowsocr.py b/src/LunaTranslator/ocrengines/windowsocr.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/ocrengines/windowsocr.py
rename to src/LunaTranslator/ocrengines/windowsocr.py
diff --git a/LunaTranslator/LunaTranslator/ocrengines/xunfei.py b/src/LunaTranslator/ocrengines/xunfei.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/ocrengines/xunfei.py
rename to src/LunaTranslator/ocrengines/xunfei.py
diff --git a/LunaTranslator/LunaTranslator/ocrengines/youdaocr.py b/src/LunaTranslator/ocrengines/youdaocr.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/ocrengines/youdaocr.py
rename to src/LunaTranslator/ocrengines/youdaocr.py
diff --git a/LunaTranslator/LunaTranslator/ocrengines/youdaodictocr.py b/src/LunaTranslator/ocrengines/youdaodictocr.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/ocrengines/youdaodictocr.py
rename to src/LunaTranslator/ocrengines/youdaodictocr.py
diff --git a/LunaTranslator/LunaTranslator/pytz.py b/src/LunaTranslator/pytz.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/pytz.py
rename to src/LunaTranslator/pytz.py
diff --git a/LunaTranslator/LunaTranslator/qtawesome.py b/src/LunaTranslator/qtawesome.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/qtawesome.py
rename to src/LunaTranslator/qtawesome.py
diff --git a/LunaTranslator/LunaTranslator/qtsymbols.py b/src/LunaTranslator/qtsymbols.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/qtsymbols.py
rename to src/LunaTranslator/qtsymbols.py
diff --git a/LunaTranslator/LunaTranslator/rendertext/exampleextrahtml.html b/src/LunaTranslator/rendertext/exampleextrahtml.html
similarity index 100%
rename from LunaTranslator/LunaTranslator/rendertext/exampleextrahtml.html
rename to src/LunaTranslator/rendertext/exampleextrahtml.html
diff --git a/LunaTranslator/LunaTranslator/rendertext/somefunctions.py b/src/LunaTranslator/rendertext/somefunctions.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/rendertext/somefunctions.py
rename to src/LunaTranslator/rendertext/somefunctions.py
diff --git a/LunaTranslator/LunaTranslator/rendertext/textbrowser.py b/src/LunaTranslator/rendertext/textbrowser.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/rendertext/textbrowser.py
rename to src/LunaTranslator/rendertext/textbrowser.py
diff --git a/LunaTranslator/LunaTranslator/rendertext/textbrowser_imp/base.py b/src/LunaTranslator/rendertext/textbrowser_imp/base.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/rendertext/textbrowser_imp/base.py
rename to src/LunaTranslator/rendertext/textbrowser_imp/base.py
diff --git a/LunaTranslator/LunaTranslator/rendertext/textbrowser_imp/miaobian0.py b/src/LunaTranslator/rendertext/textbrowser_imp/miaobian0.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/rendertext/textbrowser_imp/miaobian0.py
rename to src/LunaTranslator/rendertext/textbrowser_imp/miaobian0.py
diff --git a/LunaTranslator/LunaTranslator/rendertext/textbrowser_imp/miaobian1.py b/src/LunaTranslator/rendertext/textbrowser_imp/miaobian1.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/rendertext/textbrowser_imp/miaobian1.py
rename to src/LunaTranslator/rendertext/textbrowser_imp/miaobian1.py
diff --git a/LunaTranslator/LunaTranslator/rendertext/textbrowser_imp/normal.py b/src/LunaTranslator/rendertext/textbrowser_imp/normal.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/rendertext/textbrowser_imp/normal.py
rename to src/LunaTranslator/rendertext/textbrowser_imp/normal.py
diff --git a/LunaTranslator/LunaTranslator/rendertext/textbrowser_imp/yinying.py b/src/LunaTranslator/rendertext/textbrowser_imp/yinying.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/rendertext/textbrowser_imp/yinying.py
rename to src/LunaTranslator/rendertext/textbrowser_imp/yinying.py
diff --git a/LunaTranslator/LunaTranslator/rendertext/webview.html b/src/LunaTranslator/rendertext/webview.html
similarity index 100%
rename from LunaTranslator/LunaTranslator/rendertext/webview.html
rename to src/LunaTranslator/rendertext/webview.html
diff --git a/LunaTranslator/LunaTranslator/rendertext/webview.py b/src/LunaTranslator/rendertext/webview.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/rendertext/webview.py
rename to src/LunaTranslator/rendertext/webview.py
diff --git a/LunaTranslator/LunaTranslator/requests.py b/src/LunaTranslator/requests.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/requests.py
rename to src/LunaTranslator/requests.py
diff --git a/LunaTranslator/LunaTranslator/scalemethod/base.py b/src/LunaTranslator/scalemethod/base.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/scalemethod/base.py
rename to src/LunaTranslator/scalemethod/base.py
diff --git a/LunaTranslator/LunaTranslator/scalemethod/external_magpie.py b/src/LunaTranslator/scalemethod/external_magpie.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/scalemethod/external_magpie.py
rename to src/LunaTranslator/scalemethod/external_magpie.py
diff --git a/LunaTranslator/LunaTranslator/scalemethod/magpie_builtin.py b/src/LunaTranslator/scalemethod/magpie_builtin.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/scalemethod/magpie_builtin.py
rename to src/LunaTranslator/scalemethod/magpie_builtin.py
diff --git a/LunaTranslator/LunaTranslator/textoutput/clipboard.py b/src/LunaTranslator/textoutput/clipboard.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/textoutput/clipboard.py
rename to src/LunaTranslator/textoutput/clipboard.py
diff --git a/LunaTranslator/LunaTranslator/textoutput/outputerbase.py b/src/LunaTranslator/textoutput/outputerbase.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/textoutput/outputerbase.py
rename to src/LunaTranslator/textoutput/outputerbase.py
diff --git a/LunaTranslator/LunaTranslator/textoutput/websocket.py b/src/LunaTranslator/textoutput/websocket.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/textoutput/websocket.py
rename to src/LunaTranslator/textoutput/websocket.py
diff --git a/LunaTranslator/LunaTranslator/textsource/copyboard.py b/src/LunaTranslator/textsource/copyboard.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/textsource/copyboard.py
rename to src/LunaTranslator/textsource/copyboard.py
diff --git a/LunaTranslator/LunaTranslator/textsource/filetrans.py b/src/LunaTranslator/textsource/filetrans.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/textsource/filetrans.py
rename to src/LunaTranslator/textsource/filetrans.py
diff --git a/LunaTranslator/LunaTranslator/textsource/ocrtext.py b/src/LunaTranslator/textsource/ocrtext.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/textsource/ocrtext.py
rename to src/LunaTranslator/textsource/ocrtext.py
diff --git a/LunaTranslator/LunaTranslator/textsource/texthook.py b/src/LunaTranslator/textsource/texthook.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/textsource/texthook.py
rename to src/LunaTranslator/textsource/texthook.py
diff --git a/LunaTranslator/LunaTranslator/textsource/textsourcebase.py b/src/LunaTranslator/textsource/textsourcebase.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/textsource/textsourcebase.py
rename to src/LunaTranslator/textsource/textsourcebase.py
diff --git a/LunaTranslator/LunaTranslator/translator/ModernMt.py b/src/LunaTranslator/translator/ModernMt.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/ModernMt.py
rename to src/LunaTranslator/translator/ModernMt.py
diff --git a/LunaTranslator/LunaTranslator/translator/TranslateCom.py b/src/LunaTranslator/translator/TranslateCom.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/TranslateCom.py
rename to src/LunaTranslator/translator/TranslateCom.py
diff --git a/LunaTranslator/LunaTranslator/translator/_realtime_edit.py b/src/LunaTranslator/translator/_realtime_edit.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/_realtime_edit.py
rename to src/LunaTranslator/translator/_realtime_edit.py
diff --git a/LunaTranslator/LunaTranslator/translator/ali.py b/src/LunaTranslator/translator/ali.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/ali.py
rename to src/LunaTranslator/translator/ali.py
diff --git a/LunaTranslator/LunaTranslator/translator/aliyunapi.py b/src/LunaTranslator/translator/aliyunapi.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/aliyunapi.py
rename to src/LunaTranslator/translator/aliyunapi.py
diff --git a/LunaTranslator/LunaTranslator/translator/atlas.py b/src/LunaTranslator/translator/atlas.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/atlas.py
rename to src/LunaTranslator/translator/atlas.py
diff --git a/LunaTranslator/LunaTranslator/translator/azure.py b/src/LunaTranslator/translator/azure.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/azure.py
rename to src/LunaTranslator/translator/azure.py
diff --git a/LunaTranslator/LunaTranslator/translator/baidu.py b/src/LunaTranslator/translator/baidu.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/baidu.py
rename to src/LunaTranslator/translator/baidu.py
diff --git a/LunaTranslator/LunaTranslator/translator/baidu_ai.py b/src/LunaTranslator/translator/baidu_ai.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/baidu_ai.py
rename to src/LunaTranslator/translator/baidu_ai.py
diff --git a/LunaTranslator/LunaTranslator/translator/baidu_dev.py b/src/LunaTranslator/translator/baidu_dev.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/baidu_dev.py
rename to src/LunaTranslator/translator/baidu_dev.py
diff --git a/LunaTranslator/LunaTranslator/translator/baiduapi.py b/src/LunaTranslator/translator/baiduapi.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/baiduapi.py
rename to src/LunaTranslator/translator/baiduapi.py
diff --git a/LunaTranslator/LunaTranslator/translator/baiduqianfan.py b/src/LunaTranslator/translator/baiduqianfan.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/baiduqianfan.py
rename to src/LunaTranslator/translator/baiduqianfan.py
diff --git a/LunaTranslator/LunaTranslator/translator/basetranslator.py b/src/LunaTranslator/translator/basetranslator.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/basetranslator.py
rename to src/LunaTranslator/translator/basetranslator.py
diff --git a/LunaTranslator/LunaTranslator/translator/basetranslator_dev.py b/src/LunaTranslator/translator/basetranslator_dev.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/basetranslator_dev.py
rename to src/LunaTranslator/translator/basetranslator_dev.py
diff --git a/LunaTranslator/LunaTranslator/translator/bing.py b/src/LunaTranslator/translator/bing.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/bing.py
rename to src/LunaTranslator/translator/bing.py
diff --git a/LunaTranslator/LunaTranslator/translator/bing_dev.py b/src/LunaTranslator/translator/bing_dev.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/bing_dev.py
rename to src/LunaTranslator/translator/bing_dev.py
diff --git a/LunaTranslator/LunaTranslator/translator/caiyun.py b/src/LunaTranslator/translator/caiyun.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/caiyun.py
rename to src/LunaTranslator/translator/caiyun.py
diff --git a/LunaTranslator/LunaTranslator/translator/caiyunapi.py b/src/LunaTranslator/translator/caiyunapi.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/caiyunapi.py
rename to src/LunaTranslator/translator/caiyunapi.py
diff --git a/LunaTranslator/LunaTranslator/translator/chatgpt-3rd-party.py b/src/LunaTranslator/translator/chatgpt-3rd-party.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/chatgpt-3rd-party.py
rename to src/LunaTranslator/translator/chatgpt-3rd-party.py
diff --git a/LunaTranslator/LunaTranslator/translator/chatgpt-offline.py b/src/LunaTranslator/translator/chatgpt-offline.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/chatgpt-offline.py
rename to src/LunaTranslator/translator/chatgpt-offline.py
diff --git a/LunaTranslator/LunaTranslator/translator/claude.py b/src/LunaTranslator/translator/claude.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/claude.py
rename to src/LunaTranslator/translator/claude.py
diff --git a/LunaTranslator/LunaTranslator/translator/cohere.py b/src/LunaTranslator/translator/cohere.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/cohere.py
rename to src/LunaTranslator/translator/cohere.py
diff --git a/LunaTranslator/LunaTranslator/translator/commonhookfetchstream.js b/src/LunaTranslator/translator/commonhookfetchstream.js
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/commonhookfetchstream.js
rename to src/LunaTranslator/translator/commonhookfetchstream.js
diff --git a/LunaTranslator/LunaTranslator/translator/commonhookxhrstream.js b/src/LunaTranslator/translator/commonhookxhrstream.js
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/commonhookxhrstream.js
rename to src/LunaTranslator/translator/commonhookxhrstream.js
diff --git a/LunaTranslator/LunaTranslator/translator/deepl.py b/src/LunaTranslator/translator/deepl.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/deepl.py
rename to src/LunaTranslator/translator/deepl.py
diff --git a/LunaTranslator/LunaTranslator/translator/deepl_dev.py b/src/LunaTranslator/translator/deepl_dev.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/deepl_dev.py
rename to src/LunaTranslator/translator/deepl_dev.py
diff --git a/LunaTranslator/LunaTranslator/translator/deeplapi-free.py b/src/LunaTranslator/translator/deeplapi-free.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/deeplapi-free.py
rename to src/LunaTranslator/translator/deeplapi-free.py
diff --git a/LunaTranslator/LunaTranslator/translator/dev_ali.py b/src/LunaTranslator/translator/dev_ali.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/dev_ali.py
rename to src/LunaTranslator/translator/dev_ali.py
diff --git a/LunaTranslator/LunaTranslator/translator/dev_caiyun.py b/src/LunaTranslator/translator/dev_caiyun.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/dev_caiyun.py
rename to src/LunaTranslator/translator/dev_caiyun.py
diff --git a/LunaTranslator/LunaTranslator/translator/dev_chatglm.py b/src/LunaTranslator/translator/dev_chatglm.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/dev_chatglm.py
rename to src/LunaTranslator/translator/dev_chatglm.py
diff --git a/LunaTranslator/LunaTranslator/translator/dev_chatgpt.py b/src/LunaTranslator/translator/dev_chatgpt.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/dev_chatgpt.py
rename to src/LunaTranslator/translator/dev_chatgpt.py
diff --git a/LunaTranslator/LunaTranslator/translator/dev_chatgpt_mirror.py b/src/LunaTranslator/translator/dev_chatgpt_mirror.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/dev_chatgpt_mirror.py
rename to src/LunaTranslator/translator/dev_chatgpt_mirror.py
diff --git a/LunaTranslator/LunaTranslator/translator/dev_deepseek.py b/src/LunaTranslator/translator/dev_deepseek.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/dev_deepseek.py
rename to src/LunaTranslator/translator/dev_deepseek.py
diff --git a/LunaTranslator/LunaTranslator/translator/dev_duckduckgo.py b/src/LunaTranslator/translator/dev_duckduckgo.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/dev_duckduckgo.py
rename to src/LunaTranslator/translator/dev_duckduckgo.py
diff --git a/LunaTranslator/LunaTranslator/translator/dev_llm_common.py b/src/LunaTranslator/translator/dev_llm_common.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/dev_llm_common.py
rename to src/LunaTranslator/translator/dev_llm_common.py
diff --git a/LunaTranslator/LunaTranslator/translator/dev_moonshot.py b/src/LunaTranslator/translator/dev_moonshot.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/dev_moonshot.py
rename to src/LunaTranslator/translator/dev_moonshot.py
diff --git a/LunaTranslator/LunaTranslator/translator/dev_niutrans.py b/src/LunaTranslator/translator/dev_niutrans.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/dev_niutrans.py
rename to src/LunaTranslator/translator/dev_niutrans.py
diff --git a/LunaTranslator/LunaTranslator/translator/dev_qwen.py b/src/LunaTranslator/translator/dev_qwen.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/dev_qwen.py
rename to src/LunaTranslator/translator/dev_qwen.py
diff --git a/LunaTranslator/LunaTranslator/translator/dev_sogou.py b/src/LunaTranslator/translator/dev_sogou.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/dev_sogou.py
rename to src/LunaTranslator/translator/dev_sogou.py
diff --git a/LunaTranslator/LunaTranslator/translator/dev_theb.py b/src/LunaTranslator/translator/dev_theb.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/dev_theb.py
rename to src/LunaTranslator/translator/dev_theb.py
diff --git a/LunaTranslator/LunaTranslator/translator/dev_yandex.py b/src/LunaTranslator/translator/dev_yandex.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/dev_yandex.py
rename to src/LunaTranslator/translator/dev_yandex.py
diff --git a/LunaTranslator/LunaTranslator/translator/dev_youdao.py b/src/LunaTranslator/translator/dev_youdao.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/dev_youdao.py
rename to src/LunaTranslator/translator/dev_youdao.py
diff --git a/LunaTranslator/LunaTranslator/translator/dreye.py b/src/LunaTranslator/translator/dreye.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/dreye.py
rename to src/LunaTranslator/translator/dreye.py
diff --git a/LunaTranslator/LunaTranslator/translator/eztrans.py b/src/LunaTranslator/translator/eztrans.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/eztrans.py
rename to src/LunaTranslator/translator/eztrans.py
diff --git a/LunaTranslator/LunaTranslator/translator/feishu.py b/src/LunaTranslator/translator/feishu.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/feishu.py
rename to src/LunaTranslator/translator/feishu.py
diff --git a/LunaTranslator/LunaTranslator/translator/gemini.py b/src/LunaTranslator/translator/gemini.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/gemini.py
rename to src/LunaTranslator/translator/gemini.py
diff --git a/LunaTranslator/LunaTranslator/translator/google.py b/src/LunaTranslator/translator/google.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/google.py
rename to src/LunaTranslator/translator/google.py
diff --git a/LunaTranslator/LunaTranslator/translator/google2.py b/src/LunaTranslator/translator/google2.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/google2.py
rename to src/LunaTranslator/translator/google2.py
diff --git a/LunaTranslator/LunaTranslator/translator/google_dev.py b/src/LunaTranslator/translator/google_dev.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/google_dev.py
rename to src/LunaTranslator/translator/google_dev.py
diff --git a/LunaTranslator/LunaTranslator/translator/googleapi.py b/src/LunaTranslator/translator/googleapi.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/googleapi.py
rename to src/LunaTranslator/translator/googleapi.py
diff --git a/LunaTranslator/LunaTranslator/translator/gptcommon.py b/src/LunaTranslator/translator/gptcommon.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/gptcommon.py
rename to src/LunaTranslator/translator/gptcommon.py
diff --git a/LunaTranslator/LunaTranslator/translator/hanshant.py b/src/LunaTranslator/translator/hanshant.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/hanshant.py
rename to src/LunaTranslator/translator/hanshant.py
diff --git a/LunaTranslator/LunaTranslator/translator/huoshan.py b/src/LunaTranslator/translator/huoshan.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/huoshan.py
rename to src/LunaTranslator/translator/huoshan.py
diff --git a/LunaTranslator/LunaTranslator/translator/huoshanapi.py b/src/LunaTranslator/translator/huoshanapi.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/huoshanapi.py
rename to src/LunaTranslator/translator/huoshanapi.py
diff --git a/LunaTranslator/LunaTranslator/translator/hwcloud.py b/src/LunaTranslator/translator/hwcloud.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/hwcloud.py
rename to src/LunaTranslator/translator/hwcloud.py
diff --git a/LunaTranslator/LunaTranslator/translator/ibm.py b/src/LunaTranslator/translator/ibm.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/ibm.py
rename to src/LunaTranslator/translator/ibm.py
diff --git a/LunaTranslator/LunaTranslator/translator/itrans.py b/src/LunaTranslator/translator/itrans.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/itrans.py
rename to src/LunaTranslator/translator/itrans.py
diff --git a/LunaTranslator/LunaTranslator/translator/jb7.py b/src/LunaTranslator/translator/jb7.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/jb7.py
rename to src/LunaTranslator/translator/jb7.py
diff --git a/LunaTranslator/LunaTranslator/translator/kingsoft.py b/src/LunaTranslator/translator/kingsoft.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/kingsoft.py
rename to src/LunaTranslator/translator/kingsoft.py
diff --git a/LunaTranslator/LunaTranslator/translator/lingva.py b/src/LunaTranslator/translator/lingva.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/lingva.py
rename to src/LunaTranslator/translator/lingva.py
diff --git a/LunaTranslator/LunaTranslator/translator/microsoft.py b/src/LunaTranslator/translator/microsoft.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/microsoft.py
rename to src/LunaTranslator/translator/microsoft.py
diff --git a/LunaTranslator/LunaTranslator/translator/ort_sp.py b/src/LunaTranslator/translator/ort_sp.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/ort_sp.py
rename to src/LunaTranslator/translator/ort_sp.py
diff --git a/LunaTranslator/LunaTranslator/translator/papago.py b/src/LunaTranslator/translator/papago.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/papago.py
rename to src/LunaTranslator/translator/papago.py
diff --git a/LunaTranslator/LunaTranslator/translator/premt.py b/src/LunaTranslator/translator/premt.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/premt.py
rename to src/LunaTranslator/translator/premt.py
diff --git a/LunaTranslator/LunaTranslator/translator/qqTranSmart.py b/src/LunaTranslator/translator/qqTranSmart.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/qqTranSmart.py
rename to src/LunaTranslator/translator/qqTranSmart.py
diff --git a/LunaTranslator/LunaTranslator/translator/qqimt.py b/src/LunaTranslator/translator/qqimt.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/qqimt.py
rename to src/LunaTranslator/translator/qqimt.py
diff --git a/LunaTranslator/LunaTranslator/translator/rengong.py b/src/LunaTranslator/translator/rengong.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/rengong.py
rename to src/LunaTranslator/translator/rengong.py
diff --git a/LunaTranslator/LunaTranslator/translator/reverso.py b/src/LunaTranslator/translator/reverso.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/reverso.py
rename to src/LunaTranslator/translator/reverso.py
diff --git a/LunaTranslator/LunaTranslator/translator/reverso_context.py b/src/LunaTranslator/translator/reverso_context.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/reverso_context.py
rename to src/LunaTranslator/translator/reverso_context.py
diff --git a/LunaTranslator/LunaTranslator/translator/sakura.py b/src/LunaTranslator/translator/sakura.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/sakura.py
rename to src/LunaTranslator/translator/sakura.py
diff --git a/LunaTranslator/LunaTranslator/translator/selfbuild.py b/src/LunaTranslator/translator/selfbuild.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/selfbuild.py
rename to src/LunaTranslator/translator/selfbuild.py
diff --git a/LunaTranslator/LunaTranslator/translator/sougou2.py b/src/LunaTranslator/translator/sougou2.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/sougou2.py
rename to src/LunaTranslator/translator/sougou2.py
diff --git a/LunaTranslator/LunaTranslator/translator/sugoix.py b/src/LunaTranslator/translator/sugoix.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/sugoix.py
rename to src/LunaTranslator/translator/sugoix.py
diff --git a/LunaTranslator/LunaTranslator/translator/tencentapi.py b/src/LunaTranslator/translator/tencentapi.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/tencentapi.py
rename to src/LunaTranslator/translator/tencentapi.py
diff --git a/LunaTranslator/LunaTranslator/translator/txhunyuan.py b/src/LunaTranslator/translator/txhunyuan.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/txhunyuan.py
rename to src/LunaTranslator/translator/txhunyuan.py
diff --git a/LunaTranslator/LunaTranslator/translator/xiaoniu.py b/src/LunaTranslator/translator/xiaoniu.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/xiaoniu.py
rename to src/LunaTranslator/translator/xiaoniu.py
diff --git a/LunaTranslator/LunaTranslator/translator/yandex.py b/src/LunaTranslator/translator/yandex.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/yandex.py
rename to src/LunaTranslator/translator/yandex.py
diff --git a/LunaTranslator/LunaTranslator/translator/yandexapi.py b/src/LunaTranslator/translator/yandexapi.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/yandexapi.py
rename to src/LunaTranslator/translator/yandexapi.py
diff --git a/LunaTranslator/LunaTranslator/translator/youdao.py b/src/LunaTranslator/translator/youdao.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/youdao.py
rename to src/LunaTranslator/translator/youdao.py
diff --git a/LunaTranslator/LunaTranslator/translator/youdao3.py b/src/LunaTranslator/translator/youdao3.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/youdao3.py
rename to src/LunaTranslator/translator/youdao3.py
diff --git a/LunaTranslator/LunaTranslator/translator/youdao5.py b/src/LunaTranslator/translator/youdao5.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/youdao5.py
rename to src/LunaTranslator/translator/youdao5.py
diff --git a/LunaTranslator/LunaTranslator/translator/youdaoapi.py b/src/LunaTranslator/translator/youdaoapi.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/youdaoapi.py
rename to src/LunaTranslator/translator/youdaoapi.py
diff --git a/LunaTranslator/LunaTranslator/translator/youdaodict.py b/src/LunaTranslator/translator/youdaodict.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/translator/youdaodict.py
rename to src/LunaTranslator/translator/youdaodict.py
diff --git a/LunaTranslator/LunaTranslator/transoptimi/arabic_reshaper.py b/src/LunaTranslator/transoptimi/arabic_reshaper.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/transoptimi/arabic_reshaper.py
rename to src/LunaTranslator/transoptimi/arabic_reshaper.py
diff --git a/LunaTranslator/LunaTranslator/transoptimi/myprocess.py b/src/LunaTranslator/transoptimi/myprocess.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/transoptimi/myprocess.py
rename to src/LunaTranslator/transoptimi/myprocess.py
diff --git a/LunaTranslator/LunaTranslator/transoptimi/noundict.py b/src/LunaTranslator/transoptimi/noundict.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/transoptimi/noundict.py
rename to src/LunaTranslator/transoptimi/noundict.py
diff --git a/LunaTranslator/LunaTranslator/transoptimi/transerrorfix.py b/src/LunaTranslator/transoptimi/transerrorfix.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/transoptimi/transerrorfix.py
rename to src/LunaTranslator/transoptimi/transerrorfix.py
diff --git a/LunaTranslator/LunaTranslator/transoptimi/vndbnamemap.py b/src/LunaTranslator/transoptimi/vndbnamemap.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/transoptimi/vndbnamemap.py
rename to src/LunaTranslator/transoptimi/vndbnamemap.py
diff --git a/LunaTranslator/LunaTranslator/tts/NeoSpeech.py b/src/LunaTranslator/tts/NeoSpeech.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/tts/NeoSpeech.py
rename to src/LunaTranslator/tts/NeoSpeech.py
diff --git a/LunaTranslator/LunaTranslator/tts/basettsclass.py b/src/LunaTranslator/tts/basettsclass.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/tts/basettsclass.py
rename to src/LunaTranslator/tts/basettsclass.py
diff --git a/LunaTranslator/LunaTranslator/tts/edgetts.py b/src/LunaTranslator/tts/edgetts.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/tts/edgetts.py
rename to src/LunaTranslator/tts/edgetts.py
diff --git a/LunaTranslator/LunaTranslator/tts/gtts.py b/src/LunaTranslator/tts/gtts.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/tts/gtts.py
rename to src/LunaTranslator/tts/gtts.py
diff --git a/LunaTranslator/LunaTranslator/tts/huoshantts.py b/src/LunaTranslator/tts/huoshantts.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/tts/huoshantts.py
rename to src/LunaTranslator/tts/huoshantts.py
diff --git a/LunaTranslator/LunaTranslator/tts/vitsSimpleAPI.py b/src/LunaTranslator/tts/vitsSimpleAPI.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/tts/vitsSimpleAPI.py
rename to src/LunaTranslator/tts/vitsSimpleAPI.py
diff --git a/LunaTranslator/LunaTranslator/tts/voiceroid2.py b/src/LunaTranslator/tts/voiceroid2.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/tts/voiceroid2.py
rename to src/LunaTranslator/tts/voiceroid2.py
diff --git a/LunaTranslator/LunaTranslator/tts/voicevox.py b/src/LunaTranslator/tts/voicevox.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/tts/voicevox.py
rename to src/LunaTranslator/tts/voicevox.py
diff --git a/LunaTranslator/LunaTranslator/tts/windowstts.py b/src/LunaTranslator/tts/windowstts.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/tts/windowstts.py
rename to src/LunaTranslator/tts/windowstts.py
diff --git a/LunaTranslator/LunaTranslator/tts/youdaotts.py b/src/LunaTranslator/tts/youdaotts.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/tts/youdaotts.py
rename to src/LunaTranslator/tts/youdaotts.py
diff --git a/LunaTranslator/LunaTranslator/websocket.py b/src/LunaTranslator/websocket.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/websocket.py
rename to src/LunaTranslator/websocket.py
diff --git a/LunaTranslator/LunaTranslator/windows.py b/src/LunaTranslator/windows.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/windows.py
rename to src/LunaTranslator/windows.py
diff --git a/LunaTranslator/LunaTranslator/winrtutils.py b/src/LunaTranslator/winrtutils.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/winrtutils.py
rename to src/LunaTranslator/winrtutils.py
diff --git a/LunaTranslator/LunaTranslator/winsharedutils.py b/src/LunaTranslator/winsharedutils.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/winsharedutils.py
rename to src/LunaTranslator/winsharedutils.py
diff --git a/LunaTranslator/LunaTranslator/zhconv.py b/src/LunaTranslator/zhconv.py
similarity index 100%
rename from LunaTranslator/LunaTranslator/zhconv.py
rename to src/LunaTranslator/zhconv.py
diff --git a/build.py b/src/build.py
similarity index 84%
rename from build.py
rename to src/build.py
index ef645cfa..8bf5fc2a 100644
--- a/build.py
+++ b/src/build.py
@@ -45,7 +45,7 @@ availableLocales = ["cht", "en", "ja", "ko", "ru", "zh"]
def createPluginDirs():
- os.chdir(rootDir + "\\LunaTranslator\\files")
+ os.chdir(rootDir + "\\files")
if not os.path.exists("plugins"):
os.mkdir("plugins")
os.chdir("plugins")
@@ -68,18 +68,10 @@ def downloadBrotli():
subprocess.run(f"curl -LO {brotliFile64}")
subprocess.run(f"7z x {brotliFile32.split('/')[-1]} -obrotli32")
subprocess.run(f"7z x {brotliFile64.split('/')[-1]} -obrotli64")
- shutil.move(
- "brotli32/brotlicommon.dll", f"{rootDir}/LunaTranslator/files/plugins/DLL32"
- )
- shutil.move(
- "brotli32/brotlidec.dll", f"{rootDir}/LunaTranslator/files/plugins/DLL32"
- )
- shutil.move(
- "brotli64/brotlicommon.dll", f"{rootDir}/LunaTranslator/files/plugins/DLL64"
- )
- shutil.move(
- "brotli64/brotlidec.dll", f"{rootDir}/LunaTranslator/files/plugins/DLL64"
- )
+ shutil.move("brotli32/brotlicommon.dll", f"{rootDir}/files/plugins/DLL32")
+ shutil.move("brotli32/brotlidec.dll", f"{rootDir}/files/plugins/DLL32")
+ shutil.move("brotli64/brotlicommon.dll", f"{rootDir}/files/plugins/DLL64")
+ shutil.move("brotli64/brotlidec.dll", f"{rootDir}/files/plugins/DLL64")
def downloadlr():
@@ -88,7 +80,7 @@ def downloadlr():
subprocess.run(f"curl -LO {LocaleRe}")
subprocess.run(f"7z x {LocaleRe.split('/')[-1]} -oLR")
os.makedirs(
- f"{rootDir}/LunaTranslator/files/plugins/Locale_Remulator",
+ f"{rootDir}/files/plugins/Locale_Remulator",
exist_ok=True,
)
for _dir, _, _fs in os.walk("LR"):
@@ -96,7 +88,7 @@ def downloadlr():
if f in ["LRHookx64.dll", "LRHookx32.dll"]:
shutil.move(
os.path.join(_dir, f),
- f"{rootDir}/LunaTranslator/files/plugins/Locale_Remulator",
+ f"{rootDir}/files/plugins/Locale_Remulator",
)
@@ -126,7 +118,7 @@ def downloadcommon():
subprocess.run(f"curl -LO {mylinks['magpie.zip']}")
subprocess.run(f"7z x magpie.zip -oALL")
- move_directory_contents("ALL/ALL", f"{rootDir}/LunaTranslator/files/plugins")
+ move_directory_contents("ALL/ALL", f"{rootDir}/files/plugins")
def downloadLocaleEmulator():
@@ -135,11 +127,11 @@ def downloadLocaleEmulator():
subprocess.run(f"7z x {localeEmulatorFile.split('/')[-1]} -oLocaleEmulator")
shutil.move(
"LocaleEmulator/LoaderDll.dll",
- f"{rootDir}/LunaTranslator/files/plugins/LoaderDll.dll",
+ f"{rootDir}/files/plugins/LoaderDll.dll",
)
shutil.move(
"LocaleEmulator/LocaleEmulator.dll",
- f"{rootDir}/LunaTranslator/files/plugins/LocaleEmulator.dll",
+ f"{rootDir}/files/plugins/LocaleEmulator.dll",
)
@@ -149,11 +141,11 @@ def downloadNtlea():
subprocess.run(f"7z x {ntleaFile.split('/')[-1]} -ontlea")
shutil.move(
"ntlea/x86/ntleai.dll",
- f"{rootDir}/LunaTranslator/files/plugins/NTLEAS/ntleai.dll",
+ f"{rootDir}/files/plugins/NTLEAS/ntleai.dll",
)
shutil.move(
"ntlea/x64/ntleak.dll",
- f"{rootDir}/LunaTranslator/files/plugins/NTLEAS/ntleak.dll",
+ f"{rootDir}/files/plugins/NTLEAS/ntleak.dll",
)
@@ -166,17 +158,17 @@ def downloadCurl():
outputDirName32 = curlFile32.split("/")[-1].replace(".zip", "")
shutil.move(
f"{outputDirName32}/bin/libcurl.dll",
- f"{rootDir}/LunaTranslator/files/plugins/DLL32",
+ f"{rootDir}/files/plugins/DLL32",
)
outputDirName64 = curlFile64.split("/")[-1].replace(".zip", "")
shutil.move(
f"{outputDirName64}/bin/libcurl-x64.dll",
- f"{rootDir}/LunaTranslator/files/plugins/DLL64",
+ f"{rootDir}/files/plugins/DLL64",
)
def downloadOCRModel():
- os.chdir(rootDir + "\\LunaTranslator\\files")
+ os.chdir(rootDir + "\\files")
if not os.path.exists("ocr"):
os.mkdir("ocr")
os.chdir("ocr")
@@ -204,19 +196,19 @@ def buildLunaHook():
subprocess.run(f"7z x {LunaHook_latest.split('/')[-1]}")
shutil.move(
"Release_English/LunaHook32.dll",
- f"{rootDir}/LunaTranslator/files/plugins/LunaHook",
+ f"{rootDir}/files/plugins/LunaHook",
)
shutil.move(
"Release_English/LunaHost32.dll",
- f"{rootDir}/LunaTranslator/files/plugins/LunaHook",
+ f"{rootDir}/files/plugins/LunaHook",
)
shutil.move(
"Release_English/LunaHook64.dll",
- f"{rootDir}/LunaTranslator/files/plugins/LunaHook",
+ f"{rootDir}/files/plugins/LunaHook",
)
shutil.move(
"Release_English/LunaHost64.dll",
- f"{rootDir}/LunaTranslator/files/plugins/LunaHook",
+ f"{rootDir}/files/plugins/LunaHook",
)
@@ -243,9 +235,7 @@ def downloadsomething():
os.chdir(rootDir + "\\temp")
subprocess.run(f"curl -LO {mylinks['stylesheets-main.zip']}")
subprocess.run(f"7z x stylesheets-main.zip -oALL")
- move_directory_contents(
- "ALL/stylesheets-main", rootDir + "\\LunaTranslator\\files\\themes"
- )
+ move_directory_contents("ALL/stylesheets-main", rootDir + "\\files\\themes")
def downloadbass():
@@ -255,11 +245,11 @@ def downloadbass():
subprocess.run(f"7z x bass24.zip -oALL")
shutil.move(
"ALL/bass.dll",
- f"{rootDir}/LunaTranslator/files/plugins/DLL32",
+ f"{rootDir}/files/plugins/DLL32",
)
shutil.move(
"ALL/x64/bass.dll",
- f"{rootDir}/LunaTranslator/files/plugins/DLL64",
+ f"{rootDir}/files/plugins/DLL64",
)
@@ -291,7 +281,7 @@ if __name__ == "__main__":
else:
py37Path = f"C:\\hostedtoolcache\\windows\\Python\\{version}\\x64\\python.exe"
- os.chdir(rootDir + "\\LunaTranslator")
+ os.chdir(rootDir)
subprocess.run(f"{py37Path} -m pip install --upgrade pip")
subprocess.run(f"{py37Path} -m pip install -r requirements.txt")
diff --git a/LunaTranslator/files/anki/back.html b/src/files/anki/back.html
similarity index 100%
rename from LunaTranslator/files/anki/back.html
rename to src/files/anki/back.html
diff --git a/LunaTranslator/files/anki/front.html b/src/files/anki/front.html
similarity index 100%
rename from LunaTranslator/files/anki/front.html
rename to src/files/anki/front.html
diff --git a/LunaTranslator/files/anki/style.css b/src/files/anki/style.css
similarity index 100%
rename from LunaTranslator/files/anki/style.css
rename to src/files/anki/style.css
diff --git a/LunaTranslator/files/defaultconfig/config.json b/src/files/defaultconfig/config.json
similarity index 100%
rename from LunaTranslator/files/defaultconfig/config.json
rename to src/files/defaultconfig/config.json
diff --git a/LunaTranslator/files/defaultconfig/magpie_config.json b/src/files/defaultconfig/magpie_config.json
similarity index 100%
rename from LunaTranslator/files/defaultconfig/magpie_config.json
rename to src/files/defaultconfig/magpie_config.json
diff --git a/LunaTranslator/files/defaultconfig/ocrerrorfix.json b/src/files/defaultconfig/ocrerrorfix.json
similarity index 100%
rename from LunaTranslator/files/defaultconfig/ocrerrorfix.json
rename to src/files/defaultconfig/ocrerrorfix.json
diff --git a/LunaTranslator/files/defaultconfig/ocrsetting.json b/src/files/defaultconfig/ocrsetting.json
similarity index 100%
rename from LunaTranslator/files/defaultconfig/ocrsetting.json
rename to src/files/defaultconfig/ocrsetting.json
diff --git a/LunaTranslator/files/defaultconfig/postprocessconfig.json b/src/files/defaultconfig/postprocessconfig.json
similarity index 100%
rename from LunaTranslator/files/defaultconfig/postprocessconfig.json
rename to src/files/defaultconfig/postprocessconfig.json
diff --git a/LunaTranslator/files/defaultconfig/static_data.json b/src/files/defaultconfig/static_data.json
similarity index 100%
rename from LunaTranslator/files/defaultconfig/static_data.json
rename to src/files/defaultconfig/static_data.json
diff --git a/LunaTranslator/files/defaultconfig/transerrorfixdictconfig.json b/src/files/defaultconfig/transerrorfixdictconfig.json
similarity index 100%
rename from LunaTranslator/files/defaultconfig/transerrorfixdictconfig.json
rename to src/files/defaultconfig/transerrorfixdictconfig.json
diff --git a/LunaTranslator/files/defaultconfig/translatorsetting.json b/src/files/defaultconfig/translatorsetting.json
similarity index 100%
rename from LunaTranslator/files/defaultconfig/translatorsetting.json
rename to src/files/defaultconfig/translatorsetting.json
diff --git a/LunaTranslator/files/fonts/fontawesome4.7-webfont-charmap.json b/src/files/fonts/fontawesome4.7-webfont-charmap.json
similarity index 100%
rename from LunaTranslator/files/fonts/fontawesome4.7-webfont-charmap.json
rename to src/files/fonts/fontawesome4.7-webfont-charmap.json
diff --git a/LunaTranslator/files/fonts/fontawesome4.7-webfont.ttf b/src/files/fonts/fontawesome4.7-webfont.ttf
similarity index 100%
rename from LunaTranslator/files/fonts/fontawesome4.7-webfont.ttf
rename to src/files/fonts/fontawesome4.7-webfont.ttf
diff --git a/LunaTranslator/files/lang/ar.json b/src/files/lang/ar.json
similarity index 100%
rename from LunaTranslator/files/lang/ar.json
rename to src/files/lang/ar.json
diff --git a/LunaTranslator/files/lang/cht.json b/src/files/lang/cht.json
similarity index 100%
rename from LunaTranslator/files/lang/cht.json
rename to src/files/lang/cht.json
diff --git a/LunaTranslator/files/lang/cs.json b/src/files/lang/cs.json
similarity index 100%
rename from LunaTranslator/files/lang/cs.json
rename to src/files/lang/cs.json
diff --git a/LunaTranslator/files/lang/de.json b/src/files/lang/de.json
similarity index 100%
rename from LunaTranslator/files/lang/de.json
rename to src/files/lang/de.json
diff --git a/LunaTranslator/files/lang/en.json b/src/files/lang/en.json
similarity index 100%
rename from LunaTranslator/files/lang/en.json
rename to src/files/lang/en.json
diff --git a/LunaTranslator/files/lang/es.json b/src/files/lang/es.json
similarity index 100%
rename from LunaTranslator/files/lang/es.json
rename to src/files/lang/es.json
diff --git a/LunaTranslator/files/lang/fr.json b/src/files/lang/fr.json
similarity index 100%
rename from LunaTranslator/files/lang/fr.json
rename to src/files/lang/fr.json
diff --git a/LunaTranslator/files/lang/it.json b/src/files/lang/it.json
similarity index 100%
rename from LunaTranslator/files/lang/it.json
rename to src/files/lang/it.json
diff --git a/LunaTranslator/files/lang/ja.json b/src/files/lang/ja.json
similarity index 100%
rename from LunaTranslator/files/lang/ja.json
rename to src/files/lang/ja.json
diff --git a/LunaTranslator/files/lang/ko.json b/src/files/lang/ko.json
similarity index 100%
rename from LunaTranslator/files/lang/ko.json
rename to src/files/lang/ko.json
diff --git a/LunaTranslator/files/lang/nl.json b/src/files/lang/nl.json
similarity index 100%
rename from LunaTranslator/files/lang/nl.json
rename to src/files/lang/nl.json
diff --git a/LunaTranslator/files/lang/pl.json b/src/files/lang/pl.json
similarity index 100%
rename from LunaTranslator/files/lang/pl.json
rename to src/files/lang/pl.json
diff --git a/LunaTranslator/files/lang/pt.json b/src/files/lang/pt.json
similarity index 100%
rename from LunaTranslator/files/lang/pt.json
rename to src/files/lang/pt.json
diff --git a/LunaTranslator/files/lang/ru.json b/src/files/lang/ru.json
similarity index 100%
rename from LunaTranslator/files/lang/ru.json
rename to src/files/lang/ru.json
diff --git a/LunaTranslator/files/lang/sv.json b/src/files/lang/sv.json
similarity index 100%
rename from LunaTranslator/files/lang/sv.json
rename to src/files/lang/sv.json
diff --git a/LunaTranslator/files/lang/th.json b/src/files/lang/th.json
similarity index 100%
rename from LunaTranslator/files/lang/th.json
rename to src/files/lang/th.json
diff --git a/LunaTranslator/files/lang/tr.json b/src/files/lang/tr.json
similarity index 100%
rename from LunaTranslator/files/lang/tr.json
rename to src/files/lang/tr.json
diff --git a/LunaTranslator/files/lang/uk.json b/src/files/lang/uk.json
similarity index 100%
rename from LunaTranslator/files/lang/uk.json
rename to src/files/lang/uk.json
diff --git a/LunaTranslator/files/lang/vi.json b/src/files/lang/vi.json
similarity index 100%
rename from LunaTranslator/files/lang/vi.json
rename to src/files/lang/vi.json
diff --git a/LunaTranslator/files/lang/zh.json b/src/files/lang/zh.json
similarity index 100%
rename from LunaTranslator/files/lang/zh.json
rename to src/files/lang/zh.json
diff --git a/LunaTranslator/files/themes/.keepdir b/src/files/themes/.keepdir
similarity index 100%
rename from LunaTranslator/files/themes/.keepdir
rename to src/files/themes/.keepdir
diff --git a/LunaTranslator/files/zan.jpg b/src/files/zan.jpg
similarity index 100%
rename from LunaTranslator/files/zan.jpg
rename to src/files/zan.jpg
diff --git a/LunaTranslator/files/zhconv/zhcdict.json b/src/files/zhconv/zhcdict.json
similarity index 100%
rename from LunaTranslator/files/zhconv/zhcdict.json
rename to src/files/zhconv/zhcdict.json
diff --git a/LunaTranslator/importanalysis.py b/src/importanalysis.py
similarity index 100%
rename from LunaTranslator/importanalysis.py
rename to src/importanalysis.py
diff --git a/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt
similarity index 100%
rename from plugins/CMakeLists.txt
rename to src/plugins/CMakeLists.txt
diff --git a/plugins/applicationloopbackaudio/CMakeLists.txt b/src/plugins/applicationloopbackaudio/CMakeLists.txt
similarity index 100%
rename from plugins/applicationloopbackaudio/CMakeLists.txt
rename to src/plugins/applicationloopbackaudio/CMakeLists.txt
diff --git a/plugins/applicationloopbackaudio/Common.h b/src/plugins/applicationloopbackaudio/Common.h
similarity index 100%
rename from plugins/applicationloopbackaudio/Common.h
rename to src/plugins/applicationloopbackaudio/Common.h
diff --git a/plugins/applicationloopbackaudio/LoopbackCapture.cpp b/src/plugins/applicationloopbackaudio/LoopbackCapture.cpp
similarity index 100%
rename from plugins/applicationloopbackaudio/LoopbackCapture.cpp
rename to src/plugins/applicationloopbackaudio/LoopbackCapture.cpp
diff --git a/plugins/applicationloopbackaudio/LoopbackCapture.h b/src/plugins/applicationloopbackaudio/LoopbackCapture.h
similarity index 100%
rename from plugins/applicationloopbackaudio/LoopbackCapture.h
rename to src/plugins/applicationloopbackaudio/LoopbackCapture.h
diff --git a/plugins/applicationloopbackaudio/runer.cpp b/src/plugins/applicationloopbackaudio/runer.cpp
similarity index 100%
rename from plugins/applicationloopbackaudio/runer.cpp
rename to src/plugins/applicationloopbackaudio/runer.cpp
diff --git a/plugins/common.hpp b/src/plugins/common.hpp
similarity index 100%
rename from plugins/common.hpp
rename to src/plugins/common.hpp
diff --git a/plugins/exec/.vscode/settings.json b/src/plugins/exec/.vscode/settings.json
similarity index 100%
rename from plugins/exec/.vscode/settings.json
rename to src/plugins/exec/.vscode/settings.json
diff --git a/plugins/exec/CMakeLists.txt b/src/plugins/exec/CMakeLists.txt
similarity index 100%
rename from plugins/exec/CMakeLists.txt
rename to src/plugins/exec/CMakeLists.txt
diff --git a/plugins/exec/PyStand.cpp b/src/plugins/exec/PyStand.cpp
similarity index 100%
rename from plugins/exec/PyStand.cpp
rename to src/plugins/exec/PyStand.cpp
diff --git a/plugins/exec/PyStand.h b/src/plugins/exec/PyStand.h
similarity index 100%
rename from plugins/exec/PyStand.h
rename to src/plugins/exec/PyStand.h
diff --git a/plugins/exec/luna.ico b/src/plugins/exec/luna.ico
similarity index 100%
rename from plugins/exec/luna.ico
rename to src/plugins/exec/luna.ico
diff --git a/plugins/exec/luna.rc b/src/plugins/exec/luna.rc
similarity index 100%
rename from plugins/exec/luna.rc
rename to src/plugins/exec/luna.rc
diff --git a/plugins/hookmagpie/CMakeLists.txt b/src/plugins/hookmagpie/CMakeLists.txt
similarity index 100%
rename from plugins/hookmagpie/CMakeLists.txt
rename to src/plugins/hookmagpie/CMakeLists.txt
diff --git a/plugins/hookmagpie/hookmagpie.cpp b/src/plugins/hookmagpie/hookmagpie.cpp
similarity index 100%
rename from plugins/hookmagpie/hookmagpie.cpp
rename to src/plugins/hookmagpie/hookmagpie.cpp
diff --git a/plugins/hookmagpie/veh_hook.cpp b/src/plugins/hookmagpie/veh_hook.cpp
similarity index 100%
rename from plugins/hookmagpie/veh_hook.cpp
rename to src/plugins/hookmagpie/veh_hook.cpp
diff --git a/plugins/hookmagpie/veh_hook.h b/src/plugins/hookmagpie/veh_hook.h
similarity index 100%
rename from plugins/hookmagpie/veh_hook.h
rename to src/plugins/hookmagpie/veh_hook.h
diff --git a/plugins/implsapi.cpp b/src/plugins/implsapi.cpp
similarity index 100%
rename from plugins/implsapi.cpp
rename to src/plugins/implsapi.cpp
diff --git a/plugins/libs/Detours-4.0.1/include/detours.h b/src/plugins/libs/Detours-4.0.1/include/detours.h
similarity index 100%
rename from plugins/libs/Detours-4.0.1/include/detours.h
rename to src/plugins/libs/Detours-4.0.1/include/detours.h
diff --git a/plugins/libs/Detours-4.0.1/include/detver.h b/src/plugins/libs/Detours-4.0.1/include/detver.h
similarity index 100%
rename from plugins/libs/Detours-4.0.1/include/detver.h
rename to src/plugins/libs/Detours-4.0.1/include/detver.h
diff --git a/plugins/libs/Detours-4.0.1/include/syelog.h b/src/plugins/libs/Detours-4.0.1/include/syelog.h
similarity index 100%
rename from plugins/libs/Detours-4.0.1/include/syelog.h
rename to src/plugins/libs/Detours-4.0.1/include/syelog.h
diff --git a/plugins/libs/Detours-4.0.1/lib.X64/detours.lib b/src/plugins/libs/Detours-4.0.1/lib.X64/detours.lib
similarity index 100%
rename from plugins/libs/Detours-4.0.1/lib.X64/detours.lib
rename to src/plugins/libs/Detours-4.0.1/lib.X64/detours.lib
diff --git a/plugins/libs/Detours-4.0.1/lib.X64/syelog.lib b/src/plugins/libs/Detours-4.0.1/lib.X64/syelog.lib
similarity index 100%
rename from plugins/libs/Detours-4.0.1/lib.X64/syelog.lib
rename to src/plugins/libs/Detours-4.0.1/lib.X64/syelog.lib
diff --git a/plugins/libs/Detours-4.0.1/lib.X86/detours.lib b/src/plugins/libs/Detours-4.0.1/lib.X86/detours.lib
similarity index 100%
rename from plugins/libs/Detours-4.0.1/lib.X86/detours.lib
rename to src/plugins/libs/Detours-4.0.1/lib.X86/detours.lib
diff --git a/plugins/libs/Detours-4.0.1/lib.X86/syelog.lib b/src/plugins/libs/Detours-4.0.1/lib.X86/syelog.lib
similarity index 100%
rename from plugins/libs/Detours-4.0.1/lib.X86/syelog.lib
rename to src/plugins/libs/Detours-4.0.1/lib.X86/syelog.lib
diff --git a/plugins/libs/VC-LTL helper for cmake.cmake b/src/plugins/libs/VC-LTL helper for cmake.cmake
similarity index 100%
rename from plugins/libs/VC-LTL helper for cmake.cmake
rename to src/plugins/libs/VC-LTL helper for cmake.cmake
diff --git a/plugins/libs/libs.cmake b/src/plugins/libs/libs.cmake
similarity index 100%
rename from plugins/libs/libs.cmake
rename to src/plugins/libs/libs.cmake
diff --git a/plugins/libs/nlohmann/json.hpp b/src/plugins/libs/nlohmann/json.hpp
similarity index 100%
rename from plugins/libs/nlohmann/json.hpp
rename to src/plugins/libs/nlohmann/json.hpp
diff --git a/plugins/libs/rapidfuzz-cpp b/src/plugins/libs/rapidfuzz-cpp
similarity index 100%
rename from plugins/libs/rapidfuzz-cpp
rename to src/plugins/libs/rapidfuzz-cpp
diff --git a/plugins/libs/tinymp3 b/src/plugins/libs/tinymp3
similarity index 100%
rename from plugins/libs/tinymp3
rename to src/plugins/libs/tinymp3
diff --git a/src/plugins/libs/wechat-ocr b/src/plugins/libs/wechat-ocr
new file mode 160000
index 00000000..2faebdc1
--- /dev/null
+++ b/src/plugins/libs/wechat-ocr
@@ -0,0 +1 @@
+Subproject commit 2faebdc1ce91100acfaa550d83a8a470e98b9035
diff --git a/src/plugins/libs/wil b/src/plugins/libs/wil
new file mode 160000
index 00000000..6f60a1b7
--- /dev/null
+++ b/src/plugins/libs/wil
@@ -0,0 +1 @@
+Subproject commit 6f60a1b76fb812c6af5db1bc7abdec0001edd43f
diff --git a/plugins/pch.cpp b/src/plugins/pch.cpp
similarity index 100%
rename from plugins/pch.cpp
rename to src/plugins/pch.cpp
diff --git a/plugins/pch.h b/src/plugins/pch.h
similarity index 100%
rename from plugins/pch.h
rename to src/plugins/pch.h
diff --git a/plugins/scripts/build32.bat b/src/plugins/scripts/build32.bat
similarity index 100%
rename from plugins/scripts/build32.bat
rename to src/plugins/scripts/build32.bat
diff --git a/plugins/scripts/build64.bat b/src/plugins/scripts/build64.bat
similarity index 100%
rename from plugins/scripts/build64.bat
rename to src/plugins/scripts/build64.bat
diff --git a/src/plugins/scripts/copytarget.py b/src/plugins/scripts/copytarget.py
new file mode 100644
index 00000000..b2f54ac5
--- /dev/null
+++ b/src/plugins/scripts/copytarget.py
@@ -0,0 +1,15 @@
+import shutil,sys
+x86=int(sys.argv[1])
+if x86:
+ shutil.copy('../builds/_x86/shareddllproxy32.exe','../../files/plugins')
+ shutil.copy('../builds/_x86/loopbackaudio.dll','../../files/plugins/DLL32')
+ shutil.copy('../builds/_x86/winrtutils32.dll','../../files/plugins/DLL32')
+ shutil.copy('../builds/_x86/winsharedutils32.dll','../../files/plugins/DLL32')
+ shutil.copy('../builds/_x86/wcocr.dll','../../files/plugins/DLL32')
+else:
+ shutil.copy('../builds/_x64/shareddllproxy64.exe','../../files/plugins')
+ shutil.copy('../builds/_x64/loopbackaudio.dll','../../files/plugins/DLL64')
+ shutil.copy('../builds/_x64/hookmagpie.dll','../../files/plugins')
+ shutil.copy('../builds/_x64/winrtutils64.dll','../../files/plugins/DLL64')
+ shutil.copy('../builds/_x64/winsharedutils64.dll','../../files/plugins/DLL64')
+ shutil.copy('../builds/_x64/wcocr.dll','../../files/plugins/DLL64')
diff --git a/plugins/scripts/fetchwebview2.py b/src/plugins/scripts/fetchwebview2.py
similarity index 100%
rename from plugins/scripts/fetchwebview2.py
rename to src/plugins/scripts/fetchwebview2.py
diff --git a/plugins/shareddllproxy/Atlas.cpp b/src/plugins/shareddllproxy/Atlas.cpp
similarity index 100%
rename from plugins/shareddllproxy/Atlas.cpp
rename to src/plugins/shareddllproxy/Atlas.cpp
diff --git a/plugins/shareddllproxy/Atlas.h b/src/plugins/shareddllproxy/Atlas.h
similarity index 100%
rename from plugins/shareddllproxy/Atlas.h
rename to src/plugins/shareddllproxy/Atlas.h
diff --git a/plugins/shareddllproxy/CMakeLists.txt b/src/plugins/shareddllproxy/CMakeLists.txt
similarity index 100%
rename from plugins/shareddllproxy/CMakeLists.txt
rename to src/plugins/shareddllproxy/CMakeLists.txt
diff --git a/plugins/shareddllproxy/LR.cpp b/src/plugins/shareddllproxy/LR.cpp
similarity index 100%
rename from plugins/shareddllproxy/LR.cpp
rename to src/plugins/shareddllproxy/LR.cpp
diff --git a/plugins/shareddllproxy/aspatch.cpp b/src/plugins/shareddllproxy/aspatch.cpp
similarity index 100%
rename from plugins/shareddllproxy/aspatch.cpp
rename to src/plugins/shareddllproxy/aspatch.cpp
diff --git a/plugins/shareddllproxy/dllinject.cpp b/src/plugins/shareddllproxy/dllinject.cpp
similarity index 100%
rename from plugins/shareddllproxy/dllinject.cpp
rename to src/plugins/shareddllproxy/dllinject.cpp
diff --git a/plugins/shareddllproxy/dreye.cpp b/src/plugins/shareddllproxy/dreye.cpp
similarity index 100%
rename from plugins/shareddllproxy/dreye.cpp
rename to src/plugins/shareddllproxy/dreye.cpp
diff --git a/plugins/shareddllproxy/eztrans.cpp b/src/plugins/shareddllproxy/eztrans.cpp
similarity index 100%
rename from plugins/shareddllproxy/eztrans.cpp
rename to src/plugins/shareddllproxy/eztrans.cpp
diff --git a/plugins/shareddllproxy/jbj7.cpp b/src/plugins/shareddllproxy/jbj7.cpp
similarity index 100%
rename from plugins/shareddllproxy/jbj7.cpp
rename to src/plugins/shareddllproxy/jbj7.cpp
diff --git a/plugins/shareddllproxy/kingsoft.cpp b/src/plugins/shareddllproxy/kingsoft.cpp
similarity index 100%
rename from plugins/shareddllproxy/kingsoft.cpp
rename to src/plugins/shareddllproxy/kingsoft.cpp
diff --git a/plugins/shareddllproxy/le.cpp b/src/plugins/shareddllproxy/le.cpp
similarity index 100%
rename from plugins/shareddllproxy/le.cpp
rename to src/plugins/shareddllproxy/le.cpp
diff --git a/plugins/shareddllproxy/mp3.cpp b/src/plugins/shareddllproxy/mp3.cpp
similarity index 100%
rename from plugins/shareddllproxy/mp3.cpp
rename to src/plugins/shareddllproxy/mp3.cpp
diff --git a/plugins/shareddllproxy/neospeech.cpp b/src/plugins/shareddllproxy/neospeech.cpp
similarity index 100%
rename from plugins/shareddllproxy/neospeech.cpp
rename to src/plugins/shareddllproxy/neospeech.cpp
diff --git a/plugins/shareddllproxy/ntleas.cpp b/src/plugins/shareddllproxy/ntleas.cpp
similarity index 100%
rename from plugins/shareddllproxy/ntleas.cpp
rename to src/plugins/shareddllproxy/ntleas.cpp
diff --git a/plugins/shareddllproxy/shareddllproxy.cpp b/src/plugins/shareddllproxy/shareddllproxy.cpp
similarity index 100%
rename from plugins/shareddllproxy/shareddllproxy.cpp
rename to src/plugins/shareddllproxy/shareddllproxy.cpp
diff --git a/plugins/shareddllproxy/update.cpp b/src/plugins/shareddllproxy/update.cpp
similarity index 100%
rename from plugins/shareddllproxy/update.cpp
rename to src/plugins/shareddllproxy/update.cpp
diff --git a/plugins/shareddllproxy/voiceroid2/CMakeLists.txt b/src/plugins/shareddllproxy/voiceroid2/CMakeLists.txt
similarity index 100%
rename from plugins/shareddllproxy/voiceroid2/CMakeLists.txt
rename to src/plugins/shareddllproxy/voiceroid2/CMakeLists.txt
diff --git a/plugins/shareddllproxy/voiceroid2/api_adapter.cc b/src/plugins/shareddllproxy/voiceroid2/api_adapter.cc
similarity index 100%
rename from plugins/shareddllproxy/voiceroid2/api_adapter.cc
rename to src/plugins/shareddllproxy/voiceroid2/api_adapter.cc
diff --git a/plugins/shareddllproxy/voiceroid2/api_adapter.h b/src/plugins/shareddllproxy/voiceroid2/api_adapter.h
similarity index 100%
rename from plugins/shareddllproxy/voiceroid2/api_adapter.h
rename to src/plugins/shareddllproxy/voiceroid2/api_adapter.h
diff --git a/plugins/shareddllproxy/voiceroid2/api_settings.cc b/src/plugins/shareddllproxy/voiceroid2/api_settings.cc
similarity index 100%
rename from plugins/shareddllproxy/voiceroid2/api_settings.cc
rename to src/plugins/shareddllproxy/voiceroid2/api_settings.cc
diff --git a/plugins/shareddllproxy/voiceroid2/api_settings.h b/src/plugins/shareddllproxy/voiceroid2/api_settings.h
similarity index 100%
rename from plugins/shareddllproxy/voiceroid2/api_settings.h
rename to src/plugins/shareddllproxy/voiceroid2/api_settings.h
diff --git a/plugins/shareddllproxy/voiceroid2/ebyroid.cc b/src/plugins/shareddllproxy/voiceroid2/ebyroid.cc
similarity index 100%
rename from plugins/shareddllproxy/voiceroid2/ebyroid.cc
rename to src/plugins/shareddllproxy/voiceroid2/ebyroid.cc
diff --git a/plugins/shareddllproxy/voiceroid2/ebyroid.h b/src/plugins/shareddllproxy/voiceroid2/ebyroid.h
similarity index 100%
rename from plugins/shareddllproxy/voiceroid2/ebyroid.h
rename to src/plugins/shareddllproxy/voiceroid2/ebyroid.h
diff --git a/plugins/shareddllproxy/voiceroid2/ebyutil.h b/src/plugins/shareddllproxy/voiceroid2/ebyutil.h
similarity index 100%
rename from plugins/shareddllproxy/voiceroid2/ebyutil.h
rename to src/plugins/shareddllproxy/voiceroid2/ebyutil.h
diff --git a/plugins/shareddllproxy/voiceroid2/types.h b/src/plugins/shareddllproxy/voiceroid2/types.h
similarity index 100%
rename from plugins/shareddllproxy/voiceroid2/types.h
rename to src/plugins/shareddllproxy/voiceroid2/types.h
diff --git a/plugins/shareddllproxy/voiceroid2/voice2.cpp b/src/plugins/shareddllproxy/voiceroid2/voice2.cpp
similarity index 100%
rename from plugins/shareddllproxy/voiceroid2/voice2.cpp
rename to src/plugins/shareddllproxy/voiceroid2/voice2.cpp
diff --git a/plugins/version/VersionInfo.in b/src/plugins/version/VersionInfo.in
similarity index 100%
rename from plugins/version/VersionInfo.in
rename to src/plugins/version/VersionInfo.in
diff --git a/plugins/version/VersionResource.rc b/src/plugins/version/VersionResource.rc
similarity index 100%
rename from plugins/version/VersionResource.rc
rename to src/plugins/version/VersionResource.rc
diff --git a/plugins/version/generate_product_version.cmake b/src/plugins/version/generate_product_version.cmake
similarity index 100%
rename from plugins/version/generate_product_version.cmake
rename to src/plugins/version/generate_product_version.cmake
diff --git a/plugins/wcocr/CMakeLists.txt b/src/plugins/wcocr/CMakeLists.txt
similarity index 100%
rename from plugins/wcocr/CMakeLists.txt
rename to src/plugins/wcocr/CMakeLists.txt
diff --git a/plugins/wcocr/wcocr.cpp b/src/plugins/wcocr/wcocr.cpp
similarity index 100%
rename from plugins/wcocr/wcocr.cpp
rename to src/plugins/wcocr/wcocr.cpp
diff --git a/plugins/winrtutils/CMakeLists.txt b/src/plugins/winrtutils/CMakeLists.txt
similarity index 100%
rename from plugins/winrtutils/CMakeLists.txt
rename to src/plugins/winrtutils/CMakeLists.txt
diff --git a/plugins/winrtutils/define.h b/src/plugins/winrtutils/define.h
similarity index 100%
rename from plugins/winrtutils/define.h
rename to src/plugins/winrtutils/define.h
diff --git a/plugins/winrtutils/dllmain.cpp b/src/plugins/winrtutils/dllmain.cpp
similarity index 100%
rename from plugins/winrtutils/dllmain.cpp
rename to src/plugins/winrtutils/dllmain.cpp
diff --git a/plugins/winrtutils/winrtocr.cpp b/src/plugins/winrtutils/winrtocr.cpp
similarity index 100%
rename from plugins/winrtutils/winrtocr.cpp
rename to src/plugins/winrtutils/winrtocr.cpp
diff --git a/plugins/winrtutils/winrtsnapshot.cpp b/src/plugins/winrtutils/winrtsnapshot.cpp
similarity index 100%
rename from plugins/winrtutils/winrtsnapshot.cpp
rename to src/plugins/winrtutils/winrtsnapshot.cpp
diff --git a/plugins/winsharedutils/AreoAcrylic.cpp b/src/plugins/winsharedutils/AreoAcrylic.cpp
similarity index 100%
rename from plugins/winsharedutils/AreoAcrylic.cpp
rename to src/plugins/winsharedutils/AreoAcrylic.cpp
diff --git a/plugins/winsharedutils/BMP.h b/src/plugins/winsharedutils/BMP.h
similarity index 100%
rename from plugins/winsharedutils/BMP.h
rename to src/plugins/winsharedutils/BMP.h
diff --git a/plugins/winsharedutils/CMakeLists.txt b/src/plugins/winsharedutils/CMakeLists.txt
similarity index 100%
rename from plugins/winsharedutils/CMakeLists.txt
rename to src/plugins/winsharedutils/CMakeLists.txt
diff --git a/plugins/winsharedutils/MWebBrowser.cpp b/src/plugins/winsharedutils/MWebBrowser.cpp
similarity index 100%
rename from plugins/winsharedutils/MWebBrowser.cpp
rename to src/plugins/winsharedutils/MWebBrowser.cpp
diff --git a/plugins/winsharedutils/MWebBrowser.hpp b/src/plugins/winsharedutils/MWebBrowser.hpp
similarity index 100%
rename from plugins/winsharedutils/MWebBrowser.hpp
rename to src/plugins/winsharedutils/MWebBrowser.hpp
diff --git a/plugins/winsharedutils/SimpleBrowser.cpp b/src/plugins/winsharedutils/SimpleBrowser.cpp
similarity index 100%
rename from plugins/winsharedutils/SimpleBrowser.cpp
rename to src/plugins/winsharedutils/SimpleBrowser.cpp
diff --git a/plugins/winsharedutils/audio.cpp b/src/plugins/winsharedutils/audio.cpp
similarity index 100%
rename from plugins/winsharedutils/audio.cpp
rename to src/plugins/winsharedutils/audio.cpp
diff --git a/plugins/winsharedutils/clipboard.cpp b/src/plugins/winsharedutils/clipboard.cpp
similarity index 100%
rename from plugins/winsharedutils/clipboard.cpp
rename to src/plugins/winsharedutils/clipboard.cpp
diff --git a/plugins/winsharedutils/define.h b/src/plugins/winsharedutils/define.h
similarity index 100%
rename from plugins/winsharedutils/define.h
rename to src/plugins/winsharedutils/define.h
diff --git a/plugins/winsharedutils/dllmain.cpp b/src/plugins/winsharedutils/dllmain.cpp
similarity index 100%
rename from plugins/winsharedutils/dllmain.cpp
rename to src/plugins/winsharedutils/dllmain.cpp
diff --git a/plugins/winsharedutils/globalmessagelistener.cpp b/src/plugins/winsharedutils/globalmessagelistener.cpp
similarity index 100%
rename from plugins/winsharedutils/globalmessagelistener.cpp
rename to src/plugins/winsharedutils/globalmessagelistener.cpp
diff --git a/plugins/winsharedutils/hwnd.cpp b/src/plugins/winsharedutils/hwnd.cpp
similarity index 100%
rename from plugins/winsharedutils/hwnd.cpp
rename to src/plugins/winsharedutils/hwnd.cpp
diff --git a/plugins/winsharedutils/icon.cpp b/src/plugins/winsharedutils/icon.cpp
similarity index 100%
rename from plugins/winsharedutils/icon.cpp
rename to src/plugins/winsharedutils/icon.cpp
diff --git a/plugins/winsharedutils/levenshtein.cpp b/src/plugins/winsharedutils/levenshtein.cpp
similarity index 100%
rename from plugins/winsharedutils/levenshtein.cpp
rename to src/plugins/winsharedutils/levenshtein.cpp
diff --git a/plugins/winsharedutils/lnk.cpp b/src/plugins/winsharedutils/lnk.cpp
similarity index 100%
rename from plugins/winsharedutils/lnk.cpp
rename to src/plugins/winsharedutils/lnk.cpp
diff --git a/plugins/winsharedutils/mp3enc.cpp b/src/plugins/winsharedutils/mp3enc.cpp
similarity index 100%
rename from plugins/winsharedutils/mp3enc.cpp
rename to src/plugins/winsharedutils/mp3enc.cpp
diff --git a/plugins/winsharedutils/muteprocess.cpp b/src/plugins/winsharedutils/muteprocess.cpp
similarity index 100%
rename from plugins/winsharedutils/muteprocess.cpp
rename to src/plugins/winsharedutils/muteprocess.cpp
diff --git a/plugins/winsharedutils/otsu.cpp b/src/plugins/winsharedutils/otsu.cpp
similarity index 100%
rename from plugins/winsharedutils/otsu.cpp
rename to src/plugins/winsharedutils/otsu.cpp
diff --git a/plugins/winsharedutils/sapi_dll.cpp b/src/plugins/winsharedutils/sapi_dll.cpp
similarity index 100%
rename from plugins/winsharedutils/sapi_dll.cpp
rename to src/plugins/winsharedutils/sapi_dll.cpp
diff --git a/plugins/winsharedutils/screenshot.cpp b/src/plugins/winsharedutils/screenshot.cpp
similarity index 100%
rename from plugins/winsharedutils/screenshot.cpp
rename to src/plugins/winsharedutils/screenshot.cpp
diff --git a/plugins/winsharedutils/simplemecab.cpp b/src/plugins/winsharedutils/simplemecab.cpp
similarity index 100%
rename from plugins/winsharedutils/simplemecab.cpp
rename to src/plugins/winsharedutils/simplemecab.cpp
diff --git a/plugins/winsharedutils/theme.cpp b/src/plugins/winsharedutils/theme.cpp
similarity index 100%
rename from plugins/winsharedutils/theme.cpp
rename to src/plugins/winsharedutils/theme.cpp
diff --git a/plugins/winsharedutils/version.cpp b/src/plugins/winsharedutils/version.cpp
similarity index 100%
rename from plugins/winsharedutils/version.cpp
rename to src/plugins/winsharedutils/version.cpp
diff --git a/plugins/winsharedutils/webview2_extra.cpp b/src/plugins/winsharedutils/webview2_extra.cpp
similarity index 100%
rename from plugins/winsharedutils/webview2_extra.cpp
rename to src/plugins/winsharedutils/webview2_extra.cpp
diff --git a/LunaTranslator/requirements.txt b/src/requirements.txt
similarity index 100%
rename from LunaTranslator/requirements.txt
rename to src/requirements.txt
diff --git a/LunaTranslator/requirements_qt6.txt b/src/requirements_qt6.txt
similarity index 100%
rename from LunaTranslator/requirements_qt6.txt
rename to src/requirements_qt6.txt
diff --git a/LunaTranslator/retrieval.py b/src/retrieval.py
similarity index 96%
rename from LunaTranslator/retrieval.py
rename to src/retrieval.py
index 22b6b8cc..954846fe 100644
--- a/LunaTranslator/retrieval.py
+++ b/src/retrieval.py
@@ -9,9 +9,9 @@ x86 = platform.architecture()[0] == "32bit"
if x86:
downlevel = r"C:\Windows\SysWOW64\downlevel"
- runtime = r"..\build\LunaTranslator_x86\LunaTranslator\runtime"
- targetdir = r"..\build\LunaTranslator_x86"
- launch = r"..\plugins\builds\_x86"
+ runtime = r"build\LunaTranslator_x86\LunaTranslator\runtime"
+ targetdir = r"build\LunaTranslator_x86"
+ launch = r"plugins\builds\_x86"
baddll = "DLL64"
gooddll = "DLL32"
@@ -19,9 +19,9 @@ if x86:
else:
baddll = "DLL32"
gooddll = "DLL64"
- launch = r"..\plugins\builds\_x64"
- runtime = r"..\build\LunaTranslator\LunaTranslator\runtime"
- targetdir = r"..\build\LunaTranslator"
+ launch = r"plugins\builds\_x64"
+ runtime = r"build\LunaTranslator\LunaTranslator\runtime"
+ targetdir = r"build\LunaTranslator"
downlevel = r"C:\Windows\system32\downlevel"
webviewappendix = r"Lib\site-packages\webviewpy\platform\win32\x64\webview.dll"
diff --git a/LunaTranslator/run.bat b/src/run.bat
similarity index 100%
rename from LunaTranslator/run.bat
rename to src/run.bat
diff --git a/LunaTranslator/trans_lang.py b/src/trans_lang.py
similarity index 100%
rename from LunaTranslator/trans_lang.py
rename to src/trans_lang.py