From 8341623cf2f49983e0d63a69041e180e25a222f3 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Fri, 21 Jun 2019 14:44:19 -0400 Subject: [PATCH] Add `make staple` target, although for now this is useless. Prompt user to access microphone on launch. --- Info.plist | 2 ++ Makefile | 12 +++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Info.plist b/Info.plist index baf40a45..33b827f3 100644 --- a/Info.plist +++ b/Info.plist @@ -30,6 +30,8 @@ NSApplication NSHighResolutionCapable YES + NSMicrophoneUsageDescription + This includes line input from audio devices and interfaces. CFBundleDocumentTypes diff --git a/Makefile b/Makefile index 6badf7f0..2c22e590 100644 --- a/Makefile +++ b/Makefile @@ -126,9 +126,9 @@ ifdef ARCH_MAC # Clean up and sign bundle xattr -cr dist/$(TARGET).app # This will only work if you have the private key to my certificate - codesign --sign "Developer ID Application: Andrew Belt (VRF26934X5)" --verbose dist/$(TARGET).app + codesign --verbose --sign "Developer ID Application: Andrew Belt (VRF26934X5)" --deep dist/$(TARGET).app codesign --verify --deep --strict --verbose=2 dist/$(TARGET).app - spctl -a -t exec -vv dist/$(TARGET).app + #spctl --assess --type execute --ignore-cache --no-cache -vv dist/$(TARGET).app # Make ZIP cd dist && zip -q -9 -r Rack-$(VERSION)-$(ARCH).zip $(TARGET).app endif @@ -166,7 +166,13 @@ endif notarize: # This will only work if you have my Apple ID password in your keychain ifdef ARCH_MAC - xcrun altool --notarize-app -f dist/Rack-$(VERSION)-$(ARCH).zip --primary-bundle-id="RACK" -u "andrewpbelt@gmail.com" -p @keychain:notarize + xcrun altool --notarize-app -f dist/Rack-$(VERSION)-$(ARCH).zip --primary-bundle-id=com.vcvrack.rack -u "andrewpbelt@gmail.com" -p @keychain:notarize + #xcrun altool --notarization-info XXXXXXXXX -u "andrewpbelt@gmail.com" -p @keychain:notarize +endif + +staple: +ifdef ARCH_MAC + xcrun stapler staple dist/$(TARGET).app endif UPLOAD_URL := vortico@vcvrack.com:files/