Skip to content

Commit 647c110

Browse files
committed
CI: macOS post-build chmod + ad-hoc codesign for IndexRipper.app
1 parent cb9218f commit 647c110

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ jobs:
8181
pyinstaller -F --windowed --name=IndexRipper \
8282
--hidden-import tkinter --hidden-import tkinter.ttk --icon=app.png index_ripper.py
8383
[ -f dist/IndexRipper ] && rm -f dist/IndexRipper || true
84+
# 確保執行權限與進行 ad-hoc 簽章(不需證書)
85+
chmod +x "dist/IndexRipper.app/Contents/MacOS/IndexRipper" || true
86+
codesign --force --deep --sign - "dist/IndexRipper.app" || true
8487
8588
- name: Build (Linux)
8689
if: matrix.os == 'ubuntu-latest'

0 commit comments

Comments
 (0)