mirror of
https://github.com/kunkunsh/kunkun-ext-neohtop.git
synced 2025-04-11 17:29:45 +00:00
feat: provide code signing identity only on CI/CD
This commit is contained in:
parent
761bc3bf03
commit
a452b65d33
4
.github/workflows/macos-nightly.yml
vendored
4
.github/workflows/macos-nightly.yml
vendored
@ -51,7 +51,7 @@ jobs:
|
|||||||
- name: Build for Intel Mac
|
- name: Build for Intel Mac
|
||||||
run: |
|
run: |
|
||||||
echo "Building for Intel Mac..."
|
echo "Building for Intel Mac..."
|
||||||
npm run tauri build -- --target x86_64-apple-darwin --bundles dmg
|
npm run tauri build -- --target x86_64-apple-darwin --bundles dmg --config "{\"bundle\":{\"macOS\":{\"signingIdentity\": \"Developer ID Application: Abdenasser Elidrissi (785JV74B9Y)\"}}}"
|
||||||
# Rename the Intel build and store the filename
|
# Rename the Intel build and store the filename
|
||||||
cd src-tauri/target/x86_64-apple-darwin/release/bundle/dmg/
|
cd src-tauri/target/x86_64-apple-darwin/release/bundle/dmg/
|
||||||
for f in *.dmg; do
|
for f in *.dmg; do
|
||||||
@ -66,7 +66,7 @@ jobs:
|
|||||||
- name: Build for Apple Silicon
|
- name: Build for Apple Silicon
|
||||||
run: |
|
run: |
|
||||||
echo "Building for aarch64..."
|
echo "Building for aarch64..."
|
||||||
npm run tauri build -- --target aarch64-apple-darwin --bundles dmg
|
npm run tauri build -- --target aarch64-apple-darwin --bundles dmg --config "{\"bundle\":{\"macOS\":{\"signingIdentity\": \"Developer ID Application: Abdenasser Elidrissi (785JV74B9Y)\"}}}"
|
||||||
# Rename the Apple Silicon build and store the filename
|
# Rename the Apple Silicon build and store the filename
|
||||||
cd src-tauri/target/aarch64-apple-darwin/release/bundle/dmg/
|
cd src-tauri/target/aarch64-apple-darwin/release/bundle/dmg/
|
||||||
for f in *.dmg; do
|
for f in *.dmg; do
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
"icons/icon.ico"
|
"icons/icon.ico"
|
||||||
],
|
],
|
||||||
"macOS": {
|
"macOS": {
|
||||||
"signingIdentity": "Developer ID Application: Abdenasser Elidrissi (785JV74B9Y)",
|
|
||||||
"hardenedRuntime": true,
|
"hardenedRuntime": true,
|
||||||
"entitlements": null,
|
"entitlements": null,
|
||||||
"providerShortName": null
|
"providerShortName": null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user