@roman-16/proton-cli-win32-x64 1.9.11 → 1.9.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -1
- package/bin/proton-cli.exe +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,6 +14,8 @@ proton-cli implements the same authentication and encryption as the [Proton web
|
|
|
14
14
|
|
|
15
15
|
- [Features](#features)
|
|
16
16
|
- [Install](#install)
|
|
17
|
+
- [Updating](#updating)
|
|
18
|
+
- [Uninstalling](#uninstalling)
|
|
17
19
|
- [Quick start](#quick-start)
|
|
18
20
|
- [Core concepts](#core-concepts)
|
|
19
21
|
- [Configuration](#configuration)
|
|
@@ -39,6 +41,18 @@ proton-cli implements the same authentication and encryption as the [Proton web
|
|
|
39
41
|
|
|
40
42
|
## Install
|
|
41
43
|
|
|
44
|
+
### Install with curl (Linux, macOS)
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
curl -fsSL https://raw.githubusercontent.com/roman-16/proton-cli/main/scripts/install.sh | sh
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Install with PowerShell (Windows)
|
|
51
|
+
|
|
52
|
+
```powershell
|
|
53
|
+
irm https://raw.githubusercontent.com/roman-16/proton-cli/main/scripts/install.ps1 | iex
|
|
54
|
+
```
|
|
55
|
+
|
|
42
56
|
### Install on Arch Linux (AUR)
|
|
43
57
|
|
|
44
58
|
```bash
|
|
@@ -139,6 +153,26 @@ cd proton-cli
|
|
|
139
153
|
go build .
|
|
140
154
|
```
|
|
141
155
|
|
|
156
|
+
## Updating
|
|
157
|
+
|
|
158
|
+
If you installed with the curl script or a downloaded binary, update in place:
|
|
159
|
+
|
|
160
|
+
```bash
|
|
161
|
+
proton-cli update # update to the latest release
|
|
162
|
+
proton-cli update --check # report whether an update is available
|
|
163
|
+
proton-cli update <version> # install a specific version
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
## Uninstalling
|
|
167
|
+
|
|
168
|
+
If you installed with the curl/PowerShell script or a downloaded binary, remove it in place:
|
|
169
|
+
|
|
170
|
+
```bash
|
|
171
|
+
proton-cli uninstall # preview what would be removed
|
|
172
|
+
proton-cli uninstall --yes # remove the binary
|
|
173
|
+
proton-cli uninstall --yes --purge # also delete saved sessions and the ID cache
|
|
174
|
+
```
|
|
175
|
+
|
|
142
176
|
## Quick start
|
|
143
177
|
|
|
144
178
|
### 1. Set your credentials
|
|
@@ -614,7 +648,7 @@ Tests are integration tests that run against the live Proton API and require `PR
|
|
|
614
648
|
See [`openapi.yaml`](openapi.yaml) for the complete API spec covering ~740 endpoints. To regenerate from the latest Proton source:
|
|
615
649
|
|
|
616
650
|
```bash
|
|
617
|
-
cd scripts &&
|
|
651
|
+
cd scripts && bun install && bun run generate-openapi
|
|
618
652
|
```
|
|
619
653
|
|
|
620
654
|
See [`scripts/README.md`](scripts/README.md) for details on the generator.
|
package/bin/proton-cli.exe
CHANGED
|
Binary file
|