This commit is contained in:
恍兮惚兮 2024-05-01 22:25:00 +08:00
parent 262186813c
commit 419bbe0b79
2 changed files with 9 additions and 4 deletions

View File

@ -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 }}

View File

@ -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():