Skip to content

Commit d33d4df

Browse files
feat: remove upx as there's no win arm64 support
1 parent d9d5a62 commit d33d4df

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

.github/workflows/build-cli.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ jobs:
4646
- name: sccache
4747
uses: mozilla-actions/sccache-action@v0.0.9
4848

49-
- name: Install UPX
50-
uses: crazy-max/ghaction-upx@v4
51-
with:
52-
install-only: true
49+
# - name: Install UPX
50+
# uses: crazy-max/ghaction-upx@v4
51+
# with:
52+
# install-only: true
5353

5454
- name: Install uv
5555
uses: astral-sh/setup-uv@v7

src/cli/build.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,8 @@
44
import argparse
55
import io
66

7-
# Force UTF-8 encoding for stdout to prevent Emoji-related crashes on Windows
87
if sys.stdout.encoding != "utf-8":
98
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding="utf-8")
10-
# nuitka-windows = "nuitka --standalone --onefile --lto=yes --python-flag=-m --python-flag=-OO --disable-bytecode-cache --assume-yes-for-downloads --windows-icon-from-ico=./assets/logo.ico ./app"
11-
# nuitka-linux = "nuitka --standalone --onefile --clang --lto=yes --python-flag=-m --python-flag=-OO --disable-bytecode-cache --assume-yes-for-downloads ./app"
12-
# nuitka-debug = "nuitka --standalone --onefile --clang --lto=yes --debug --python-flag=-m --python-flag=-OO --disable-bytecode-cache --assume-yes-for-downloads ./app"
139

1410

1511
class NuitkaBuilder:
@@ -25,7 +21,7 @@ def __init__(self, target="./app", output_name=None):
2521
"--lto=yes",
2622
"--python-flag=-m",
2723
"--python-flag=-OO",
28-
"--enable-plugin=upx",
24+
# "--enable-plugin=upx",
2925
"--disable-bytecode-cache",
3026
"--assume-yes-for-downloads",
3127
]

0 commit comments

Comments
 (0)