mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
dev
This commit is contained in:
parent
b894c8c5a1
commit
2050c81f9c
@ -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):
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user