feat(cli): add tray script

This commit is contained in:
IMDelewer 2026-03-17 09:39:44 +03:00
parent 37d6df70c7
commit ba6e1cdf39
1 changed files with 4 additions and 0 deletions

View File

@ -53,6 +53,7 @@ win10 = [
[project.scripts] [project.scripts]
tg-ws-proxy = "proxy.tg_ws_proxy:main" tg-ws-proxy = "proxy.tg_ws_proxy:main"
tg-ws-proxy-tray = "windows:main"
[project.urls] [project.urls]
Source = "https://github.com/Flowseal/tg-ws-proxy" Source = "https://github.com/Flowseal/tg-ws-proxy"
@ -61,5 +62,8 @@ Issues = "https://github.com/Flowseal/tg-ws-proxy/issues"
[tool.hatch.build.targets.wheel] [tool.hatch.build.targets.wheel]
packages = ["proxy"] packages = ["proxy"]
[tool.hatch.build.force-include]
"windows.py" = "windows.py"
[tool.hatch.version] [tool.hatch.version]
source = "vcs" source = "vcs"