Skip to content

Commit ee55f24

Browse files
committed
build: Switch to one-dir build to debug
1 parent 4683718 commit ee55f24

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,16 @@ jobs:
4646
- name: Package Release (Windows)
4747
if: runner.os == 'Windows'
4848
run: |
49-
Compress-Archive -Path dist/BZ98R_ModManager.exe -DestinationPath BZ98R_ModManager-windows.zip
49+
Compress-Archive -Path dist/BZ98R_ModManager -DestinationPath BZ98R_ModManager-windows.zip
5050
5151
- name: Package Release (Linux)
5252
if: runner.os == 'Linux'
5353
run: |
54-
ls -l dist
5554
tar -czvf BZ98R_ModManager-linux.tar.gz -C dist BZ98R_ModManager
5655
5756
- name: Package Release (macOS)
5857
if: runner.os == 'macOS'
5958
run: |
60-
ls -l dist
6159
tar -czvf BZ98R_ModManager-macos.tar.gz -C dist BZ98R_ModManager
6260
6361
- name: Upload Artifact

build.spec

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,14 @@ exe = EXE(
4141
codesign_identity=None,
4242
entitlements_file=None,
4343
)
44+
45+
coll = COLLECT(
46+
exe,
47+
a.binaries,
48+
a.zipfiles,
49+
a.datas,
50+
strip=False,
51+
upx=True,
52+
upx_exclude=[],
53+
name='BZ98R_ModManager',
54+
)

0 commit comments

Comments
 (0)