release: fix dropping _main suffix
This commit is contained in:
parent
9697f5f656
commit
306431f0b8
|
@ -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", "")
|
||||
|
|
Loading…
Reference in New Issue