mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
fix
This commit is contained in:
parent
262186813c
commit
419bbe0b79
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -25,7 +25,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: '3.7.9'
|
python-version: '3.7.9'
|
||||||
architecture: ${{ matrix.architecture }}
|
architecture: ${{ matrix.architecture }}
|
||||||
|
- name: Install Python 3.11
|
||||||
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: '3.11'
|
||||||
|
|
||||||
- name: Run build script
|
- name: Run build script
|
||||||
run: |
|
run: |
|
||||||
python build.py ${{ matrix.architecture }}
|
python build.py ${{ matrix.architecture }}
|
||||||
|
7
build.py
7
build.py
@ -26,9 +26,10 @@ ocrModelUrl = "https://github.com/HIllya51/RESOURCES/releases/download/ocr_model
|
|||||||
availableLocales = ["cht", "en", "ja", "ko", "ru", "zh"]
|
availableLocales = ["cht", "en", "ja", "ko", "ru", "zh"]
|
||||||
|
|
||||||
|
|
||||||
rootDir = os.path.dirname(os.path.abspath(__file__))
|
# rootDir = os.path.dirname(os.path.abspath(__file__))
|
||||||
print(__file__)
|
# print(__file__)
|
||||||
print(rootDir)
|
# print(rootDir)
|
||||||
|
rootDir = os.path.dirname(__file__)
|
||||||
|
|
||||||
|
|
||||||
def createPluginDirs():
|
def createPluginDirs():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user