clippa 1.0.0 → 1.0.2

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 CHANGED
@@ -22,23 +22,34 @@
22
22
 
23
23
  ## Install Clippa
24
24
 
25
- Install the current GitHub build:
25
+ Install from npm:
26
26
 
27
27
  ```bash
28
- npx github:Vaniawl/Clippa
28
+ npx clippa
29
29
  ```
30
30
 
31
- After npm publish, the public install command will be:
31
+ Or install the command globally:
32
32
 
33
33
  ```bash
34
- npx clippa
34
+ npm install -g clippa
35
+ clippa
35
36
  ```
36
37
 
38
+ GitHub install is also available:
39
+
40
+ ```bash
41
+ npx github:Vaniawl/Clippa
42
+ ```
43
+
44
+ Do not use `npx install clippa`: npm treats `install` as the package name in that command. The correct npx command is `npx clippa`.
45
+
37
46
  After it opens, grant Accessibility access when macOS asks. Clippa needs that permission only to paste the selected item into the app where your cursor is already active.
38
47
 
39
48
  Useful installer options:
40
49
 
41
50
  ```bash
51
+ npx clippa -- --no-open
52
+ npx clippa -- --install-dir ~/Applications
42
53
  npx github:Vaniawl/Clippa -- --no-open
43
54
  npx github:Vaniawl/Clippa -- --install-dir ~/Applications
44
55
  ```
@@ -17,8 +17,9 @@ function usage() {
17
17
  console.log(`Install Clippa for macOS.
18
18
 
19
19
  Usage:
20
- npx github:Vaniawl/Clippa
21
20
  npx clippa
21
+ npm install -g clippa && clippa
22
+ npx github:Vaniawl/Clippa
22
23
 
23
24
  Options:
24
25
  --install-dir <path> Copy Clippa.app into a custom applications folder.
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "clippa",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Installer for Clippa, a private macOS paste panel.",
5
5
  "bin": {
6
6
  "install-clippa": "bin/install-clippa.js",
7
- "clippa": "bin/install-clippa.js",
8
- "Clippa": "bin/install-clippa.js"
7
+ "clippa": "bin/install-clippa.js"
9
8
  },
10
9
  "scripts": {
11
10
  "release": "./scripts/release.sh",