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
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -25,6 +25,10 @@ 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: |
|
||||
|
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"]
|
||||
|
||||
|
||||
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():
|
||||
|
Loading…
x
Reference in New Issue
Block a user