[PR #523] [CLOSED] fix: стабильный single-instance и перезапуск трея на win/linux/macos #37

Closed
opened 2026-07-19 11:34:07 +03:00 by mirror-bot · 0 comments

📋 Pull Request Information

Original PR: https://github.com/Flowseal/tg-ws-proxy/pull/523
Author: @deexsed
Created: 4/1/2026
Status: ❌ Closed

Base: main ← Head: fix/tray-stability


📝 Commits (2)

📊 Changes

10 files changed (+381 additions, -75 deletions)

View changed files

➕ .gitattributes (+1 -0)
📝 Dockerfile (+3 -1)
➕ docker/entrypoint.sh (+7 -0)
📝 linux.py (+56 -9)
📝 macos.py (+42 -54)
📝 proxy/tg_ws_proxy.py (+31 -2)
➕ ui/tray_icons.py (+70 -0)
📝 utils/tray_common.py (+83 -6)
➕ utils/tray_proxy_state.py (+61 -0)
📝 windows.py (+27 -3)

📄 Description

Исправил частую проблему с ложным "Приложение уже запущено" и некорректным restart в трее на всех платформах.
Также привёл поведение linux/macos к windows и добавил статусный бейдж прокси на иконку

Закрывает: #502 #484

Необходимо тестирование на linux и macos

Вынес инлайн-команду из ENTRYPOINT в отдельный скрипт docker/entrypoint.sh. Так надёжнее: не нужно мучиться с экранированием кавычек и копипастой (https://github.com/Flowseal/tg-ws-proxy/issues/490). Добавил запуск sed прямо в образе, чтобы срезать символы CR


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Flowseal/tg-ws-proxy/pull/523 **Author:** [@deexsed](https://github.com/deexsed) **Created:** 4/1/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/tray-stability` --- ### 📝 Commits (2) - [`7ad2f77`](https://github.com/Flowseal/tg-ws-proxy/commit/7ad2f77165e9dddf2fa1bcfc5f7c063c9d95a4af) docker: entrypoint script and CRLF-safe build https://github.com/Flowseal/tg-ws-proxy/issues/490#issuecomment-4154668985 - [`947d25e`](https://github.com/Flowseal/tg-ws-proxy/commit/947d25ed4dba9a68520823eb719b4414b0f796f7) fix(tray): стабильный запуск и перезапуск на всех платформах ### 📊 Changes **10 files changed** (+381 additions, -75 deletions) <details> <summary>View changed files</summary> ➕ `.gitattributes` (+1 -0) 📝 `Dockerfile` (+3 -1) ➕ `docker/entrypoint.sh` (+7 -0) 📝 `linux.py` (+56 -9) 📝 `macos.py` (+42 -54) 📝 `proxy/tg_ws_proxy.py` (+31 -2) ➕ `ui/tray_icons.py` (+70 -0) 📝 `utils/tray_common.py` (+83 -6) ➕ `utils/tray_proxy_state.py` (+61 -0) 📝 `windows.py` (+27 -3) </details> ### 📄 Description Исправил частую проблему с ложным "Приложение уже запущено" и некорректным restart в трее на всех платформах. Также привёл поведение linux/macos к windows и добавил статусный бейдж прокси на иконку Закрывает: [#502](https://github.com/Flowseal/tg-ws-proxy/issues/502) [#484](https://github.com/Flowseal/tg-ws-proxy/issues/484) **_Необходимо тестирование на linux и macos_** Вынес инлайн-команду из ENTRYPOINT в отдельный скрипт docker/entrypoint.sh. Так надёжнее: не нужно мучиться с экранированием кавычек и копипастой (https://github.com/Flowseal/tg-ws-proxy/issues/490). Добавил запуск sed прямо в образе, чтобы срезать символы CR --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror-bot added the pull-request label 2026-07-19 11:34:07 +03:00
mirror-bot changed title from [PR #523] [CLOSED] fix: стабильный single-instance и перезапуск трея на win/linux/macos to [PR #523] fix: стабильный single-instance и перезапуск трея на win/linux/macos 2026-07-20 04:09:35 +03:00
mirror-bot changed title from [PR #523] fix: стабильный single-instance и перезапуск трея на win/linux/macos to [PR #523] [CLOSED] fix: стабильный single-instance и перезапуск трея на win/linux/macos 2026-07-20 23:14:25 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Utilities/tg-ws-proxy#37