windows package

This commit is contained in:
jxxghp
2023-10-09 12:57:52 +08:00
parent e15f5ab93e
commit 97f16289c9
22 changed files with 217 additions and 47 deletions

36
.github/workflows/build-windows.yml vendored Normal file
View File

@ -0,0 +1,36 @@
name: MoviePilot Windows Builder
on:
workflow_dispatch:
push:
branches:
- master
paths:
- version.py
- .github/workflows/build-windows.yml
jobs:
Windows-build:
runs-on: windows-latest
steps:
- name: Init Python 3.11.4
uses: actions/setup-python@v4
with:
python-version: '3.11.4'
- name: Install Dependent Packages
run: |
python -m pip install --upgrade pip
pip install wheel numpy==1.23.5 pyparsing==3.0.9 wxpython==4.2.0 pyinstaller==5.7.0
git clone --depth=1 -b main https://github.com/jxxghp/MoviePilot
cd MoviePilot
pip install -r requirements.txt
shell: pwsh
- name: Pyinstaller
run: |
cd MoviePilot
pyinstaller windows.spec
shell: pwsh
- name: Upload Windows File
uses: actions/upload-artifact@v3
with:
name: windows
path: MoviePilot/dist/MoviePilot.exe

View File

@ -1,4 +1,4 @@
name: MoviePilot Builder
name: MoviePilot Docker Builder
on:
workflow_dispatch:
push: