From 76019836963847e5d4f9ef8c4a6d0e834ac7193d Mon Sep 17 00:00:00 2001 From: Neucrack Date: Tue, 23 Aug 2022 20:59:27 +0800 Subject: [PATCH] fix pack error and update readme --- .github/workflows/pack.yml | 2 +- .github/workflows/pack_linux.yml | 2 +- .github/workflows/release_linux.yml | 2 +- .github/workflows/release_macos.yml | 2 +- .github/workflows/release_windows.yml | 2 +- README.MD | 5 +++++ README_ZH.MD | 4 ++++ 7 files changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index 996d4e1..c828bb6 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -38,6 +38,6 @@ jobs: - name: test pack run: | pip3 install -r requirements.txt - pip3 install pyinstaller wheel + pip3 install pyinstaller==5.1 wheel python setup.py sdist bdist_wheel python pack.py diff --git a/.github/workflows/pack_linux.yml b/.github/workflows/pack_linux.yml index a4f260a..0df8022 100644 --- a/.github/workflows/pack_linux.yml +++ b/.github/workflows/pack_linux.yml @@ -42,6 +42,6 @@ jobs: sudo apt-get update DEBIAN_FRONTEND=noninteractive sudo apt-get install -y x11-utils libxkbcommon-x11-0 pip3 install -r requirements.txt - pip3 install -U pyinstaller wheel + pip3 install -U pyinstaller==5.1 wheel python setup.py sdist bdist_wheel python pack.py diff --git a/.github/workflows/release_linux.yml b/.github/workflows/release_linux.yml index e60db26..973fcd0 100644 --- a/.github/workflows/release_linux.yml +++ b/.github/workflows/release_linux.yml @@ -41,7 +41,7 @@ jobs: sudo apt-get update DEBIAN_FRONTEND=noninteractive sudo apt-get install -y x11-utils libxkbcommon-x11-0 pip3 install -r requirements.txt - pip3 install pyinstaller wheel + pip3 install pyinstaller==5.1 wheel python setup.py sdist bdist_wheel python pack.py release_path=`python pack.py ${{ matrix.os }}` diff --git a/.github/workflows/release_macos.yml b/.github/workflows/release_macos.yml index 07f1b00..42efe16 100644 --- a/.github/workflows/release_macos.yml +++ b/.github/workflows/release_macos.yml @@ -38,7 +38,7 @@ jobs: run: | python --version pip3 install -r requirements.txt - pip3 install pyinstaller wheel + pip3 install pyinstaller==5.1 wheel python setup.py sdist bdist_wheel python pack.py release_path=`python pack.py ${{ matrix.os }}` diff --git a/.github/workflows/release_windows.yml b/.github/workflows/release_windows.yml index 2ef8667..fb15558 100644 --- a/.github/workflows/release_windows.yml +++ b/.github/workflows/release_windows.yml @@ -38,7 +38,7 @@ jobs: run: | python --version pip3 install -r requirements.txt - pip3 install pyinstaller wheel + pip3 install pyinstaller==5.1 wheel python setup.py sdist bdist_wheel python pack.py $release_path = python pack.py ${{ matrix.os }} diff --git a/README.MD b/README.MD index da30136..895e94d 100644 --- a/README.MD +++ b/README.MD @@ -290,6 +290,11 @@ python COMTool/Main.py 5. pull request +## Write your own plugins in minutes + +see [docs/plugins.md](./docs/plugins.md) + + ## Add translate * Install environment first(python pip packages in the requirments.txt) diff --git a/README_ZH.MD b/README_ZH.MD index 931b9f4..d3d8b0a 100644 --- a/README_ZH.MD +++ b/README_ZH.MD @@ -287,6 +287,10 @@ python COMTool/Main.py 5. 创建合并请求 +## 快速编写你自己的插件 + +参考 [docs/plugins.md](./docs/plugins_zh.md) + ## 添加翻译 * 先安装环境(`requirments.txt`中的`python pip`包)