mirror of
https://github.com/Flowseal/tg-ws-proxy.git
synced 2026-10-21 02:58:45 +00:00
Update adjusts
This commit is contained in:
1 parent
c52714f264
commit
9deed3707a
2 files changed
+2
-2
No files matched your search
@@ -106,7 +106,7 @@ def download_asset(
|
||||
if not expected:
|
||||
raise ValueError("The release asset has no valid SHA-256 checksum")
|
||||
|
||||
fd, name = tempfile.mkstemp(dir=str(dest_dir), suffix=suffix)
|
||||
fd, name = tempfile.mkstemp(dir=str(dest_dir), suffix=suffix, prefix="TgWsProxy_tmp_")
|
||||
path = Path(name)
|
||||
try:
|
||||
sha = hashlib.sha256()
|
||||
|
||||
+1
-1
@@ -148,7 +148,7 @@ def update_ctk_form(
|
||||
width=310 if asset else 210,
|
||||
height=130 if asset else 100,
|
||||
theme=theme,
|
||||
topmost=False,
|
||||
topmost=True,
|
||||
after_create=lambda r: r.iconbitmap(ICON_PATH),
|
||||
)
|
||||
frame = main_content_frame(ctk, root, theme, padx=16, pady=14)
|
||||
|
||||
Reference in new issue
Block a user