Skip to content

Commit

Permalink
Moved Manifest into scoop Dir and updated Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
CEbbinghaus committed Jan 30, 2023
1 parent 7c9e878 commit a3a128e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/SDK/Language/CLI.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ public function getFiles(): array
],
[
'scope' => 'default',
'destination' => 'appwrite.json',
'template' => 'cli/appwrite.json.twig',
'destination' => 'scoop/appwrite.json',
'template' => 'cli/scoop/appwrite.json.twig',
'minify' => false,
],
[
Expand Down
5 changes: 5 additions & 0 deletions templates/cli/README.md.twig
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,14 @@ $ brew install --HEAD {{ language.params.executableName }}
> Please note that `--HEAD` will be removed with official release.

### Windows
Via Powershell
```powershell
$ iwr -useb {{ sdk.url }}/cli/install.ps1 | iex
```
Via [Scoop](https://scoop.sh/#/)
```powershell
$ scoop install https://raw.githubusercontent.com/{{ sdk.gitUserName }}/{{ sdk.gitRepoName | caseDash }}/master/scoop/appwrite.json
```

Once the installation completes, you can verify your install using
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,8 @@
]
],
"homepage": "https://github.com/{{ sdk.gitUserName|url_encode }}/{{ sdk.gitRepoName|url_encode }}",
"hash": "https://github.com/appwrite/sdk-for-cli/releases/download/$version/hashes",
"checkver": {
"url": "https://api.github.com/repos/appwrite/sdk-for-cli/releases",
"jsonpath": "$[0].tag_name"
},
"autoupdate": {
"url": "https://github.com/appwrite/sdk-for-cli/releases/download/$version/appwrite-cli-win-x64.exe",
"hash": "$url.sha256"
}
}

0 comments on commit a3a128e

Please sign in to comment.