From 92f2db0ae179a6c59c6c41fd393a1926ed776404 Mon Sep 17 00:00:00 2001 From: Lyubomir Ternavskiy <127299159+LyubomirT@users.noreply.github.com> Date: Tue, 30 Jul 2024 06:14:13 +0300 Subject: [PATCH] chore: Update Python source code file paths in README and Chinese translation --- README.md | 2 +- readmes/README-Chinese.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 86bea4c..45a82f5 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ It's ️quite easy to use, actually! Just type the text you want to simulate typ ## Run from Source 🏗 -To run the project from source, you need to have Python 3.6 or higher installed. You also must install the dependencies by running `pip install -r requirements.txt`. After that, you can run the project by running `python src/main.py`. +To run the project from source, you need to have Python 3.6 or higher installed. You also must install the dependencies by running `pip install -r requirements.txt`. After that, move to the `src` directory and run `python main.py` to run the project. To build the project, you can use PyInstaller. `build.ps1` is a PowerShell script that builds the project using PyInstaller. You can run it by running `.\build.ps1`. The output will be in the `dist` folder, note that the script is configured to build a Windows executable and that you need to have PyInstaller installed. diff --git a/readmes/README-Chinese.md b/readmes/README-Chinese.md index 13d2ebe..fd9610f 100644 --- a/readmes/README-Chinese.md +++ b/readmes/README-Chinese.md @@ -14,7 +14,8 @@ English/英文 README [README-EN](https://github.com/LyubomirT/chainsaw-human-ty ## 从源代码运行 🏗 -要从源代码运行项目,你需要安装 Python 3.6 或更高版本。你还必须通过运行`pip install -r requirements.txt`来安装依赖项。之后,你可以通过运行`python src/main.py`来运行项目。 +要从源代码运行项目,你需要安装 Python 3.6 或更高版本。你还必须通过运行`pip install -r requirements.txt`来安装依赖项。之后,移动到`src`目录并运行`python main.py`来运行项目。 + 要构建项目,你可以使用 PyInstaller。 `build.ps1`是一个 PowerShell 脚本,用于使用 PyInstaller 生成项目。你可以通过运行`.\build.ps1`来运行它。输出将位于“dist”文件夹中,请注意,该脚本配置为构建 Windows 可执行文件,并且你需要安装 PyInstaller。 ## 贡献 🤝