Update CI workflow and add main entry point

Modified the CI workflow to correctly specify the path to the main script for PyInstaller builds. Added a new standalone entry point in src/main.py to serve as the executable script for tzst.
This commit is contained in:
xixu-me committed 2025-06-04 21:08:33 +08:00
1 parent d2f11636be
commit 637f1d2562
2 files changed
+14 -1

No files matched your search

+1 -1
View File
@@ -173,7 +173,7 @@ jobs:
- name: Build binary
run: |
python -m PyInstaller --onefile --name tzst --console -m tzst
python -m PyInstaller --onefile --name tzst --console src/main.py
- name: Verify binary (Linux/macOS)
if: matrix.os != 'windows-latest'