We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32d8468 commit 89754b8Copy full SHA for 89754b8
2 files changed
build_nuitka.py
@@ -6,6 +6,12 @@
6
import sys
7
from pathlib import Path
8
9
+# 设置Windows控制台编码为UTF-8
10
+if sys.platform == "win32":
11
+ import io
12
+ sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8')
13
+ sys.stderr = io.TextIOWrapper(sys.stderr.buffer, encoding='utf-8')
14
+
15
from packaging_utils import (
16
ADDITIONAL_HIDDEN_IMPORTS,
17
ICON_FILE,
build_pyinstaller.py
@@ -7,6 +7,12 @@
18
collect_data_includes,
0 commit comments