mirror of https://github.com/Wox-launcher/Wox
Fix code sign issue and update build.yml and justfile
This commit is contained in:
parent
c7f227db54
commit
2a89213759
|
@ -19,6 +19,8 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Build
|
- name: Build
|
||||||
run: just release darwin-amd64
|
run: just release darwin-amd64
|
||||||
|
env:
|
||||||
|
KEYCHAINPWD: ${{ secrets.KEYCHAINPWD }}
|
||||||
- name: Deploy nightly release amd64
|
- name: Deploy nightly release amd64
|
||||||
uses: WebFreak001/deploy-nightly@v3.0.0
|
uses: WebFreak001/deploy-nightly@v3.0.0
|
||||||
with:
|
with:
|
||||||
|
@ -35,6 +37,8 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Build
|
- name: Build
|
||||||
run: just release darwin-arm64
|
run: just release darwin-arm64
|
||||||
|
env:
|
||||||
|
KEYCHAINPWD: ${{ secrets.KEYCHAINPWD }}
|
||||||
- name: Deploy nightly release arm64
|
- name: Deploy nightly release arm64
|
||||||
uses: WebFreak001/deploy-nightly@v3.0.0
|
uses: WebFreak001/deploy-nightly@v3.0.0
|
||||||
with:
|
with:
|
||||||
|
|
2
justfile
2
justfile
|
@ -51,7 +51,7 @@ default:
|
||||||
cp ../Assets/mac/Info.plist {{name}}.app/Contents/Info.plist && \
|
cp ../Assets/mac/Info.plist {{name}}.app/Contents/Info.plist && \
|
||||||
cp ../Assets/mac/app.icns {{name}}.app/Contents/Resources/app.icns && \
|
cp ../Assets/mac/app.icns {{name}}.app/Contents/Resources/app.icns && \
|
||||||
mv {{name}}.app Wox.app && \
|
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 && \
|
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" \
|
create-dmg --codesign "Developer ID Application: jiajuan mao (AGYCFD2ZGN)" --notarize "wox" --volname "Wox Installer" \
|
||||||
--volicon "../Assets/mac/app.icns" \
|
--volicon "../Assets/mac/app.icns" \
|
||||||
|
|
Loading…
Reference in New Issue