Skip to content

Commit 8233685

Browse files
Update build-exe.yml
1 parent e4221b0 commit 8233685

1 file changed

Lines changed: 12 additions & 8 deletions

File tree

.github/workflows/build-exe.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,27 @@ jobs:
2727
run: pip install -r requirements.txt
2828

2929
- name: Build with Nuitka
30-
# --- THE FINAL, VERIFIED CONFIGURATION ---
30+
# --- THE FINAL, POLISHED CONFIGURATION ---
3131
uses: Nuitka/Nuitka-Action@main
3232
with:
3333
nuitka-version: '2.6'
3434
msvc: 'latest'
35-
enable-plugins: "numpy,tk-inter"
3635

37-
# --- CORRECTED SYNTAX BELOW ---
38-
# Provide the script name ONLY.
36+
# Nuitka 2.6+ auto-detects numpy, pandas, and qt.
37+
# We only need tk-inter as a hint for the standard library.
38+
enable-plugins: "tk-inter"
39+
3940
script-name: PICA_Launcher_V4.py
4041

41-
# Use the 'deployment' flag. On Windows, this implies a one-file build.
42+
# The 'deployment' flag handles a one-file build.
4243
deployment: true
44+
45+
# Use the modern option to disable the console.
46+
windows-console-mode: 'disable'
4347

44-
# Action-specific inputs remain separate.
45-
disable-console: true
4648
windows-icon-from-ico: _assets/LOGO/UGC_DAE_CSR.ico
49+
50+
# These directories MUST exist in your GitHub repository and not be empty.
4751
include-data-dir: |
4852
_assets=_assets
4953
Delta_mode=Delta_mode
@@ -59,7 +63,7 @@ jobs:
5963
uses: svenstaro/upload-release-action@v2
6064
with:
6165
repo_token: ${{ secrets.GITHUB_TOKEN }}
62-
# The output is now in the root of the repo by default with --deployment
66+
# The 'deployment' flag places the final .exe in the repository root.
6367
file: PICA_Launcher_V4.exe
6468
asset_name: PICA_Launcher-Windows-${{ github.ref_name }}.exe
6569
tag: ${{ github.ref }}

0 commit comments

Comments
 (0)