Browse Source

Add `make staple` target, although for now this is useless. Prompt user to access microphone on launch.

tags/v1.1.0
Andrew Belt 5 years ago
parent
commit
8341623cf2
2 changed files with 11 additions and 3 deletions
  1. +2
    -0
      Info.plist
  2. +9
    -3
      Makefile

+ 2
- 0
Info.plist View File

@@ -30,6 +30,8 @@
<string>NSApplication</string> <string>NSApplication</string>
<key>NSHighResolutionCapable</key> <key>NSHighResolutionCapable</key>
<string>YES</string> <string>YES</string>
<key>NSMicrophoneUsageDescription</key>
<string>This includes line input from audio devices and interfaces.</string>


<key>CFBundleDocumentTypes</key> <key>CFBundleDocumentTypes</key>
<array> <array>


+ 9
- 3
Makefile View File

@@ -126,9 +126,9 @@ ifdef ARCH_MAC
# Clean up and sign bundle # Clean up and sign bundle
xattr -cr dist/$(TARGET).app xattr -cr dist/$(TARGET).app
# This will only work if you have the private key to my certificate # 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 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 # Make ZIP
cd dist && zip -q -9 -r Rack-$(VERSION)-$(ARCH).zip $(TARGET).app cd dist && zip -q -9 -r Rack-$(VERSION)-$(ARCH).zip $(TARGET).app
endif endif
@@ -166,7 +166,13 @@ endif
notarize: notarize:
# This will only work if you have my Apple ID password in your keychain # This will only work if you have my Apple ID password in your keychain
ifdef ARCH_MAC 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 endif


UPLOAD_URL := vortico@vcvrack.com:files/ UPLOAD_URL := vortico@vcvrack.com:files/


Loading…
Cancel
Save