mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-03-26 08:54:48 +08:00
release: fix dropping _main suffix
This commit is contained in:
@@ -196,7 +196,7 @@ def make_bdist():
|
||||
executable += ".exe"
|
||||
|
||||
# Remove _main suffix from mitmproxy executable
|
||||
if executable.startswith("mitmproxy_main"):
|
||||
if "_main" in executable:
|
||||
shutil.move(
|
||||
executable,
|
||||
executable.replace("_main", "")
|
||||
|
||||
Reference in New Issue
Block a user