Compare commits
15 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
c23acb4472
|
|||
|
33fcd762f4
|
|||
|
ffbbf42d23
|
|||
| 8599690614 | |||
| 572d328890 | |||
| 10ae32812f | |||
| 39cfe519c6 | |||
| 19a326f8bf | |||
| 8ea5de3f54 | |||
|
992b629e24
|
|||
|
9223d5c5b2
|
|||
|
900cb4c210
|
|||
|
bd1c068e1c
|
|||
|
9afa50820b
|
|||
|
a51f341cf3
|
@@ -8,7 +8,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build-windows-exe:
|
build-windows-exe:
|
||||||
name: Build Windows EXE
|
name: Build Windows EXE
|
||||||
runs-on: windows-latest
|
runs-on: windows
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -19,14 +19,14 @@ jobs:
|
|||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
shell: pwsh
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
if (Test-Path requirements.txt) { pip install -r requirements.txt }
|
if (Test-Path requirements.txt) { pip install -r requirements.txt }
|
||||||
pip install pyinstaller
|
pip install pyinstaller
|
||||||
|
|
||||||
- name: Build EXE with PyInstaller
|
- name: Build EXE with PyInstaller
|
||||||
shell: pwsh
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
$ErrorActionPreference = 'Stop'
|
$ErrorActionPreference = 'Stop'
|
||||||
# Include SeaLoader.png so the packaged app icon in-app works
|
# Include SeaLoader.png so the packaged app icon in-app works
|
||||||
@@ -34,7 +34,7 @@ jobs:
|
|||||||
pyinstaller --noconfirm --onefile --windowed sealoader_gui.py --name SeaLoader --add-data "$addData"
|
pyinstaller --noconfirm --onefile --windowed sealoader_gui.py --name SeaLoader --add-data "$addData"
|
||||||
|
|
||||||
- name: Prepare artifact
|
- name: Prepare artifact
|
||||||
shell: pwsh
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
New-Item -ItemType Directory -Force -Path dist_upload | Out-Null
|
New-Item -ItemType Directory -Force -Path dist_upload | Out-Null
|
||||||
Copy-Item dist\SeaLoader.exe dist_upload\SeaLoader.exe
|
Copy-Item dist\SeaLoader.exe dist_upload\SeaLoader.exe
|
||||||
@@ -44,7 +44,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload asset to Release
|
- name: Upload asset to Release
|
||||||
if: ${{ github.event_name == 'release' && github.event.action == 'published' }}
|
if: ${{ github.event_name == 'release' && github.event.action == 'published' }}
|
||||||
shell: pwsh
|
shell: powershell
|
||||||
env:
|
env:
|
||||||
TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
REPO: ${{ github.repository }}
|
REPO: ${{ github.repository }}
|
||||||
@@ -62,5 +62,5 @@ jobs:
|
|||||||
name: SeaLoader_Windows_x64
|
name: SeaLoader_Windows_x64
|
||||||
path: |
|
path: |
|
||||||
SeaLoader_Windows_x64.zip
|
SeaLoader_Windows_x64.zip
|
||||||
dist/SeaLoader/SeaLoader.exe
|
dist/SeaLoader.exe
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user