Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4d43609
commit 0c52c12
Showing
4 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,9 @@ | ||
#!/bin/sh | ||
# TODO(Drew): Update README to note changes to DeveloperSettings file | ||
|
||
DEV_EMAIL=`echo | grep DEVELOPER_EMAIL ../DeveloperSettings.xcconfig` | ||
NOTARIZATION_PASSWORD=`echo | grep NOTARIZATION_PASSWORD ../DeveloperSettings.xcconfig` | ||
DMG_NAME=`echo | ls | grep '360ControllerInstall.*.dmg'` | ||
USERNAME="${DEV_EMAIL//\DEVELOPER_EMAIL = }" | ||
PASSWORD="${NOTARIZATION_PASSWORD//\NOTARIZATION_PASSWORD = }" | ||
|
||
AUTHENTICATION="--username \"${DEV_EMAIL//\DEVELOPER_EMAIL = }\" --password \"${NOTARIZATION_PASSWORD//\NOTARIZATION_PASSWORD = }\"" | ||
xcrun altool --notarize-app --primary-bundle-id "com.mice.driver" --username ${USERNAME} --password ${PASSWORD} --file ${DMG_NAME} | ||
|
||
xcrun altool --notarize-app --primary-bundle-id "com.mice.driver" ${AUTHENTICATION} --file ${DMG_NAME} | ||
xcrun stapler staple ${DMG_NAME} | ||
xcrun stapler validate ${DMG_NAME} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh | ||
DMG_NAME=`echo | ls | grep '360ControllerInstall.*.dmg'` | ||
xcrun stapler staple ${DMG_NAME} | ||
xcrun stapler validate ${DMG_NAME} | ||
|