This commit is contained in:
恍兮惚兮 2024-09-04 06:19:02 +08:00
parent b894c8c5a1
commit 2050c81f9c
2 changed files with 3 additions and 5 deletions

View File

@ -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):

View File

@ -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)