fix: allow MuteDeck local API listener
This commit is contained in:
@@ -24,6 +24,15 @@ jobs:
|
|||||||
ONLY_ACTIVE_ARCH=NO
|
ONLY_ACTIVE_ARCH=NO
|
||||||
CODE_SIGNING_ALLOWED=NO
|
CODE_SIGNING_ALLOWED=NO
|
||||||
build
|
build
|
||||||
|
- name: Sign test build
|
||||||
|
run: |
|
||||||
|
app_path="$RUNNER_TEMP/DerivedData/Build/Products/Release/Meetingnotes.app"
|
||||||
|
codesign --force --deep --sign - \
|
||||||
|
--entitlements meetingnotes/meetingnotes.entitlements \
|
||||||
|
"$app_path"
|
||||||
|
codesign --verify --deep --strict "$app_path"
|
||||||
|
codesign -d --entitlements :- "$app_path" 2>&1 \
|
||||||
|
| grep -q 'com.apple.security.network.server'
|
||||||
- name: Smoke test local API
|
- name: Smoke test local API
|
||||||
run: |
|
run: |
|
||||||
defaults write owen.meetingnotes muteDeckAPIEnabled -bool true
|
defaults write owen.meetingnotes muteDeckAPIEnabled -bool true
|
||||||
@@ -44,7 +53,6 @@ jobs:
|
|||||||
- name: Package test build
|
- name: Package test build
|
||||||
run: |
|
run: |
|
||||||
app_path="$RUNNER_TEMP/DerivedData/Build/Products/Release/Meetingnotes.app"
|
app_path="$RUNNER_TEMP/DerivedData/Build/Products/Release/Meetingnotes.app"
|
||||||
codesign --force --deep --sign - "$app_path"
|
|
||||||
ditto -c -k --sequesterRsrc --keepParent \
|
ditto -c -k --sequesterRsrc --keepParent \
|
||||||
"$app_path" "$RUNNER_TEMP/Meetingnotes-macOS.zip"
|
"$app_path" "$RUNNER_TEMP/Meetingnotes-macOS.zip"
|
||||||
- name: Upload test build
|
- name: Upload test build
|
||||||
|
|||||||
@@ -16,6 +16,8 @@
|
|||||||
<true/>
|
<true/>
|
||||||
<key>com.apple.security.network.client</key>
|
<key>com.apple.security.network.client</key>
|
||||||
<true/>
|
<true/>
|
||||||
|
<key>com.apple.security.network.server</key>
|
||||||
|
<true/>
|
||||||
<key>com.apple.security.temporary-exception.mach-lookup.global-name</key>
|
<key>com.apple.security.temporary-exception.mach-lookup.global-name</key>
|
||||||
<array>
|
<array>
|
||||||
<string>owen.meetingnotes-spks</string>
|
<string>owen.meetingnotes-spks</string>
|
||||||
|
|||||||
Reference in New Issue
Block a user