Update source_is_not_there_error.md (#94168)

This commit is contained in:
Miccal Matthews 2020-12-03 11:52:26 +08:00 committed by GitHub
parent 07509cee47
commit 7a8f7bee90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
First, you need to identify which artifact is not being handled correctly anymore. Its explicit in the error message: if it says `It seems the App source…'` the problem is [`app`](https://github.com/Homebrew/homebrew-cask/blob/master/doc/cask_language_reference/stanzas/app.md). The pattern is the same across [all artifacts](https://github.com/Homebrew/homebrew-cask/blob/master/doc/cask_language_reference/all_stanzas.md#at-least-one-artifact-stanza-is-also-required).
Fixing this error is typically easy, and requires only a bit of time on your part. Start by downloading the package for the cask: `brew cask fetch {{cask_name}}`. The last line of output will inform you of the location of the download. Navigate there and manually unpack it. As an example, lets say the structure inside the archive is as follows:
Fixing this error is typically easy, and requires only a bit of time on your part. Start by downloading the package for the cask: `brew fetch {{cask_name}}`. The last line of output will inform you of the location of the download. Navigate there and manually unpack it. As an example, lets say the structure inside the archive is as follows:
```
.
@ -9,11 +9,11 @@ Fixing this error is typically easy, and requires only a bit of time on your par
└─ README.md
```
Now, let's look at the cask (`brew cask cat {{cask_name}}`):
Now, let's look at the cask (`brew cat {{cask_name}}`):
```
(…)
app 'SomeApp.app'
app "SomeApp.app"
(…)
```