forked from Code-Amadeus/Amadeus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
25 lines (17 loc) · 770 Bytes
/
Copy pathmain.py
File metadata and controls
25 lines (17 loc) · 770 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
"""Retired application entry point.
The desktop application is owned by Electron and the Python backend lives in
``server.app``. This stub is intentionally import-safe so obsolete launchers
fail with a clear migration message instead of initializing legacy runtimes.
"""
from __future__ import annotations
_DEPRECATION_MESSAGE = """\
[DEPRECATED] main.py 的 PyQt 桌面 GUI 入口已退役。
- 桌面端:启动 Electron 应用(run_electron_utf8.bat)
- 本地 CUDA 语音 profile:run_electron_cu124.bat
- 后端: python -m server.app [--port 17777]
旧 PyQt 代码已隔离至 legacy/pyqt(见 DEPRECATED_FILES.md)。"""
def main() -> int:
print(_DEPRECATION_MESSAGE)
return 1
if __name__ == "__main__":
raise SystemExit(main())