diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b9640f27..d7ebb691 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,11 @@ jobs: with: python-version: '3.7.9' architecture: ${{ matrix.architecture }} - + - name: Install Python 3.11 + uses: actions/setup-python@v5 + with: + python-version: '3.11' + - name: Run build script run: | python build.py ${{ matrix.architecture }} diff --git a/build.py b/build.py index bd050476..567b1c7c 100644 --- a/build.py +++ b/build.py @@ -26,9 +26,10 @@ ocrModelUrl = "https://github.com/HIllya51/RESOURCES/releases/download/ocr_model availableLocales = ["cht", "en", "ja", "ko", "ru", "zh"] -rootDir = os.path.dirname(os.path.abspath(__file__)) -print(__file__) -print(rootDir) +# rootDir = os.path.dirname(os.path.abspath(__file__)) +# print(__file__) +# print(rootDir) +rootDir = os.path.dirname(__file__) def createPluginDirs():