1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-28 07:46:28 +00:00

docs(install): fix typo and update indentation and whitespaces (#4941)

This commit is contained in:
Zhizhen He 2023-03-08 23:42:00 +08:00 committed by GitHub
parent 0c5b11da12
commit 000f5ed10d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 40 additions and 41 deletions

View File

@ -2,7 +2,7 @@
set -euo pipefail set -euo pipefail
# Envrionmental variables that need to be set. These are sane defaults # Environmental variables that need to be set. These are sane defaults
# KEYCHAIN_ENTRY=AC_PASSWORD # Or whatever you picked for <AUTH_ITEM_NAME> # KEYCHAIN_ENTRY=AC_PASSWORD # Or whatever you picked for <AUTH_ITEM_NAME>
# RUNNER_TEMP=~/Library/Keychains/ # RUNNER_TEMP=~/Library/Keychains/
# KEYCHAIN_FILENAME=login.keychain-db # KEYCHAIN_FILENAME=login.keychain-db

View File

@ -40,8 +40,7 @@ productbuild --synthesize --package starship-component.pkg --product "$archplist
# search for a line that matches our opening tag and insert our desired lines after it # search for a line that matches our opening tag and insert our desired lines after it
# Solution taken from https://www.theunixschool.com/2012/06/insert-line-before-or-after-pattern.html # Solution taken from https://www.theunixschool.com/2012/06/insert-line-before-or-after-pattern.html
while read -r line while read -r line; do
do
echo "$line" echo "$line"
if echo "$line" | grep -qF '<installer-gui-script '; then if echo "$line" | grep -qF '<installer-gui-script '; then
echo '<welcome file="welcome.html" mime-type="text-html" />' echo '<welcome file="welcome.html" mime-type="text-html" />'

View File

@ -138,7 +138,7 @@ attempts, run
xcrun notarytool history --keychain-profile "AC_PASSWORD" xcrun notarytool history --keychain-profile "AC_PASSWORD"
``` ```
Find the `id` of the attempt you wish to view, then run one of these commmands: Find the `id` of the attempt you wish to view, then run one of these commands:
``` ```
xcrun notarytool info <run-id> --keychain-profile "AC_PASSWORD" xcrun notarytool info <run-id> --keychain-profile "AC_PASSWORD"