1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-27 14:14:19 +03:00

Fix script

This commit is contained in:
Tae Won Ha 2020-11-17 19:39:45 +01:00
parent 03b65167e0
commit d82e6b03e0
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44
2 changed files with 7 additions and 5 deletions

View File

@ -19,12 +19,14 @@ main() {
echo "#### Uploaded"
echo "Use 'xcrun altool --notarization-history 0 -u hataewon@gmail.com -p @keychain:dev-notar' or"
echo "'xcrun altool --notarization-info ${request_uuid} -u hataewon@gmail.com -p @keychain:dev-notar'"
popd >/dev/null
pushd "$(dirname "${BASH_SOURCE[0]}")/.." >/dev/null
echo "#### Waiting for notarization ${request_uuid} to finish"
./bin/wait_for_notarization.py
popd >/dev/null
pushd "$(dirname "${BASH_SOURCE[0]}")/.." >/dev/null
echo "#### Waiting for notarization ${request_uuid} to finish"
./bin/wait_for_notarization.py
popd </dev/null
pushd "${vimr_app_path}/.." >/dev/null
xcrun stapler staple VimR.app
echo "### Notarization finished"
popd >/dev/null

View File

@ -1,4 +1,4 @@
#!/usr/local/bin/python3
#!/usr/bin/env python3
from waiting import wait, TimeoutExpired
import os