windows mutex-lock

This commit is contained in:
Flowseal
2026-04-14 00:27:06 +03:00
parent 25ae4b0a24
commit 4cbb9e555c
4 changed files with 46 additions and 6 deletions

View File

@@ -273,7 +273,7 @@ def run_tray() -> None:
def main() -> None:
if not acquire_lock("linux.py"):
if not acquire_lock():
_show_info("Приложение уже запущено.", os.path.basename(sys.argv[0]))
return
try: