Note
Require macOS 10.15+, x86_64 and arm64 arch are tested.
-
Create a python environment.
-
Install requirements.
pip install -r requirements.txt pip install -r requirements-dev.txt
-
Update the translations.
# Generate translations source of QML files. lupdate SciHubEVA.pro # Generate translations source of Python files. pyside6-lupdate \ scihub_eva/api/*.py \ scihub_eva/ui/*.py \ -ts i18n/SciHubEVA_zh_CN.ts
-
Install create-dmg.
brew install create-dmg
-
Build and package.
./building/build_macos.sh ${arch}
SciHubEVA-${arch}-latest.dmg
will be indist-macOS-${arch}
.
Note
Require Windows 10+, x86_64 arch is tested.
-
See step 1 in macOS.
-
See step 2 in macOS.
-
See step 3 in macOS.
-
Install Inno Setup and make sure
ISCC.exe
is in yourPATH
. -
Build and package.
./building/build_windows.ps1 ${arch}
SciHubEVA-${arch}-latest.exe
will be indist-Windows-${arch}
.
Note
Require Ubuntu 22.04+, x86_64 arch is tested.
-
See step 1 in macOS.
-
See step 2 in macOS.
-
See step 3 in macOS.
-
Install system packages.
sudo apt install -y binutils librsvg2-bin libfuse2 libgl1-mesa-dev libxcb* libxau-dev liblzma-dev libegl-dev
-
Install appimagetool and make sure
appimagetool-x86_64.AppImage
is in yourPATH
.curl -O https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage ~/.local/bin/appimagetool-x86_64.AppImage
-
Build and package.
./building/build_linux.sh ${arch}
SciHubEVA-${arch}-latest.AppImage
will be indist-Linux-${arch}
.