Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build Windows Executable

on:
workflow_dispatch:
release:
types: [created]

jobs:
build-windows:
runs-on: windows-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"

- name: Install dependencies and build
run: |
python -m pip install --upgrade pip
pip install pyinstaller
pip install -r requirements.txt
python -m PyInstaller --onefile --console --name FNGGLocker main.py

- name: Upload executable artifact
uses: actions/upload-artifact@v4
with:
name: FNGGLocker-Windows
path: dist/FNGGLocker.exe

- name: Upload to release
if: github.event_name == 'release'
uses: softprops/action-gh-release@v1
with:
files: dist/FNGGLocker.exe
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ builtinemotes.json
FNGGLockerGenerator.spec
locker.txt
moreoffers.json
*.spec
4 changes: 4 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
aiohttp>=3.13.3
requests>=2.32.5
colored>=2.3.1
colorama>=0.4.6