mirror of
https://github.com/KnugiHK/WhatsApp-Chat-Exporter.git
synced 2026-04-24 15:01:36 +00:00
Fix CI on Windows
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -18,14 +18,20 @@ jobs:
|
|||||||
include:
|
include:
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
python-version: "3.13"
|
python-version: "3.13"
|
||||||
|
env:
|
||||||
|
PYTHONUTF8: "1"
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
python-version: "3.13"
|
python-version: "3.13"
|
||||||
- os: windows-11-arm
|
- os: windows-11-arm
|
||||||
python-version: "3.13"
|
python-version: "3.13"
|
||||||
|
env:
|
||||||
|
PYTHONUTF8: "1"
|
||||||
- os: macos-15-intel
|
- os: macos-15-intel
|
||||||
python-version: "3.13"
|
python-version: "3.13"
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
python-version: "3.14"
|
python-version: "3.14"
|
||||||
|
env:
|
||||||
|
PYTHONUTF8: "1"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|||||||
@@ -767,6 +767,9 @@ def main():
|
|||||||
|
|
||||||
# Print banner if not suppressed
|
# Print banner if not suppressed
|
||||||
if not args.no_banner:
|
if not args.no_banner:
|
||||||
|
# Note: This may raise UnicodeEncodeError on Windows if the terminal
|
||||||
|
# doesn't support UTF-8 (e.g., Legacy CMD). Use a modern terminal
|
||||||
|
# or set PYTHONUTF8=1 in your environment.
|
||||||
print(WTSEXPORTER_BANNER)
|
print(WTSEXPORTER_BANNER)
|
||||||
|
|
||||||
if args.debug:
|
if args.debug:
|
||||||
|
|||||||
Reference in New Issue
Block a user