Fix code sign issue and update build.yml and justfile

This commit is contained in:
qianlifeng 2024-10-11 13:10:50 +08:00
parent c7f227db54
commit 2a89213759
No known key found for this signature in database
2 changed files with 5 additions and 1 deletions

View File

@ -19,6 +19,8 @@ jobs:
- uses: actions/checkout@v3
- name: Build
run: just release darwin-amd64
env:
KEYCHAINPWD: ${{ secrets.KEYCHAINPWD }}
- name: Deploy nightly release amd64
uses: WebFreak001/deploy-nightly@v3.0.0
with:
@ -35,6 +37,8 @@ jobs:
- uses: actions/checkout@v3
- name: Build
run: just release darwin-arm64
env:
KEYCHAINPWD: ${{ secrets.KEYCHAINPWD }}
- name: Deploy nightly release arm64
uses: WebFreak001/deploy-nightly@v3.0.0
with:

View File

@ -51,7 +51,7 @@ default:
cp ../Assets/mac/Info.plist {{name}}.app/Contents/Info.plist && \
cp ../Assets/mac/app.icns {{name}}.app/Contents/Resources/app.icns && \
mv {{name}}.app Wox.app && \
security unlock-keychain -p ${{ secrets.KEYCHAINPWD }} login.keychain && \
security unlock-keychain -p $KEYCHAINPWD login.keychain && \
codesign --options=runtime --force --deep --sign "Developer ID Application: jiajuan mao (AGYCFD2ZGN)" Wox.app/Contents/MacOS/wox && \
create-dmg --codesign "Developer ID Application: jiajuan mao (AGYCFD2ZGN)" --notarize "wox" --volname "Wox Installer" \
--volicon "../Assets/mac/app.icns" \