From 2050c81f9c0133ea5a97edba40d6d9979fd03f43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Wed, 4 Sep 2024 06:19:02 +0800 Subject: [PATCH] dev --- .../LunaTranslator/translator/basetranslator_dev.py | 6 ++---- plugins/CMakeLists.txt | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/LunaTranslator/LunaTranslator/translator/basetranslator_dev.py b/LunaTranslator/LunaTranslator/translator/basetranslator_dev.py index 2cb9d6c2..32fd4fdb 100644 --- a/LunaTranslator/LunaTranslator/translator/basetranslator_dev.py +++ b/LunaTranslator/LunaTranslator/translator/basetranslator_dev.py @@ -46,10 +46,8 @@ class Commonloadchromium: statuslabelsettext(self, "端口冲突") def gencmd(self, path, port): - hash_ = hashlib.md5(path.encode("utf8")).hexdigest() - cache = os.path.abspath(os.path.join("chrome_cache", hash_)) - fmt = '"%s" --disable-extensions --remote-allow-origins=* --disable-gpu --no-first-run --remote-debugging-port=%d --user-data-dir="%s"' - call = fmt % (path, port, cache) + fmt = '"%s" --remote-allow-origins=* --remote-debugging-port=%d ' + call = fmt % (path, port) return call def getpath(self): diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index 84ec7fc8..1dfb388d 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -29,7 +29,7 @@ include(generate_product_version) set(VERSION_MAJOR 5) set(VERSION_MINOR 33) -set(VERSION_PATCH 6) +set(VERSION_PATCH 7) add_library(pch pch.cpp) target_precompile_headers(pch PUBLIC pch.h)