Skip to content

Commit a3a128e

Browse files
committed
Moved Manifest into scoop Dir and updated Readme
1 parent 7c9e878 commit a3a128e

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/SDK/Language/CLI.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ public function getFiles(): array
7373
],
7474
[
7575
'scope' => 'default',
76-
'destination' => 'appwrite.json',
77-
'template' => 'cli/appwrite.json.twig',
76+
'destination' => 'scoop/appwrite.json',
77+
'template' => 'cli/scoop/appwrite.json.twig',
7878
'minify' => false,
7979
],
8080
[

templates/cli/README.md.twig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,14 @@ $ brew install --HEAD {{ language.params.executableName }}
5959
> Please note that `--HEAD` will be removed with official release.
6060

6161
### Windows
62+
Via Powershell
6263
```powershell
6364
$ iwr -useb {{ sdk.url }}/cli/install.ps1 | iex
6465
```
66+
Via [Scoop](https://scoop.sh/#/)
67+
```powershell
68+
$ scoop install https://raw.githubusercontent.com/{{ sdk.gitUserName }}/{{ sdk.gitRepoName | caseDash }}/master/scoop/appwrite.json
69+
```
6570

6671
Once the installation completes, you can verify your install using
6772
```

templates/cli/appwrite.json.twig renamed to templates/cli/scoop/appwrite.json.twig

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,8 @@
1111
]
1212
],
1313
"homepage": "https://github.com/{{ sdk.gitUserName|url_encode }}/{{ sdk.gitRepoName|url_encode }}",
14-
"hash": "https://github.com/appwrite/sdk-for-cli/releases/download/$version/hashes",
1514
"checkver": {
1615
"url": "https://api.github.com/repos/appwrite/sdk-for-cli/releases",
1716
"jsonpath": "$[0].tag_name"
18-
},
19-
"autoupdate": {
20-
"url": "https://github.com/appwrite/sdk-for-cli/releases/download/$version/appwrite-cli-win-x64.exe",
21-
"hash": "$url.sha256"
2217
}
2318
}

0 commit comments

Comments
 (0)