修复空文件夹
This commit is contained in:
11
README.md
11
README.md
@@ -79,7 +79,16 @@ graph TD
|
|||||||
D --> H
|
D --> H
|
||||||
```
|
```
|
||||||
|
|
||||||
## 系统要求
|
## 系统与平台要求
|
||||||
|
|
||||||
|
- 依赖组件: Python 3.7+ (与 PIP), Git (半自动更新 & 安装需要), requirements.txt 中依赖包
|
||||||
|
- 可选依赖: curl (首次下载需要)
|
||||||
- 平台支持:Windows / macOS / Linux / Android (需要 Termux 或 Linux) (终端或浏览器)
|
- 平台支持:Windows / macOS / Linux / Android (需要 Termux 或 Linux) (终端或浏览器)
|
||||||
- 网络连接:可预缓存语音文件, 需联网使用大模型服务功能
|
- 网络连接:可预缓存语音文件, 需联网使用大模型服务功能
|
||||||
|
|
||||||
|
运行此命令以在具备以上前置条件的计算机上快速安装/保留数据更新:
|
||||||
|
```
|
||||||
|
curl -O https://gitea.imwangzhiyu.xyz/ajax/HeurAMS/raw/branch/main/tweak.py
|
||||||
|
|
||||||
|
python3 tweak.py
|
||||||
|
```
|
0
electron/.keep
Normal file
0
electron/.keep
Normal file
6
main.py
6
main.py
@@ -1,5 +1,6 @@
|
|||||||
from textual.app import App
|
from textual.app import App
|
||||||
import screens
|
import screens
|
||||||
|
import os
|
||||||
|
|
||||||
class AppLauncher(App):
|
class AppLauncher(App):
|
||||||
CSS_PATH = "styles.css"
|
CSS_PATH = "styles.css"
|
||||||
@@ -14,5 +15,10 @@ class AppLauncher(App):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
script_dir = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
os.chdir(script_dir)
|
||||||
|
os.makedirs("electron", exist_ok=True)
|
||||||
|
os.makedirs("nucleon", exist_ok=True)
|
||||||
|
os.makedirs("cache/voice", exist_ok=True)
|
||||||
app = AppLauncher()
|
app = AppLauncher()
|
||||||
app.run()
|
app.run()
|
Reference in New Issue
Block a user