mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
Revert
This commit is contained in:
parent
2050c81f9c
commit
fad30d6fe2
@ -46,8 +46,10 @@ class Commonloadchromium:
|
||||
statuslabelsettext(self, "端口冲突")
|
||||
|
||||
def gencmd(self, path, port):
|
||||
fmt = '"%s" --remote-allow-origins=* --remote-debugging-port=%d '
|
||||
call = fmt % (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)
|
||||
return call
|
||||
|
||||
def getpath(self):
|
||||
|
@ -29,7 +29,7 @@ include(generate_product_version)
|
||||
|
||||
set(VERSION_MAJOR 5)
|
||||
set(VERSION_MINOR 33)
|
||||
set(VERSION_PATCH 7)
|
||||
set(VERSION_PATCH 6)
|
||||
|
||||
add_library(pch pch.cpp)
|
||||
target_precompile_headers(pch PUBLIC pch.h)
|
||||
|
Loading…
x
Reference in New Issue
Block a user