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
5 changed files with 40 additions and 41 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
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>
# RUNNER_TEMP=~/Library/Keychains/
# KEYCHAIN_FILENAME=login.keychain-db
@@ -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
# Solution taken from https://www.theunixschool.com/2012/06/insert-line-before-or-after-pattern.html
while read -r line
do
while read -r line; do
echo "$line"
if echo "$line" | grep -qF '<installer-gui-script '; then
echo '<welcome file="welcome.html" mime-type="text-html" />'
+1 -1
View File
@@ -138,7 +138,7 @@ attempts, run
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"