@kromatv/installer 0.1.38 → 0.1.39-canary.3608396

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.
Files changed (3) hide show
  1. package/README.md +15 -8
  2. package/cli.js +18078 -3987
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -21,15 +21,16 @@ it on the sets you choose. Run it again to update KROMA.
21
21
 
22
22
  | TV | What to do once | Guide |
23
23
  | --- | --- | --- |
24
- | Samsung | Turn on developer mode, and create a Samsung certificate for the TV with Tizen Studio | [Samsung TV](https://kroma.tv/docs/samsung-tv) |
24
+ | Samsung | Turn on developer mode, then get its certificate: `npx @kromatv/installer certificate TV_ADDRESS`, and sign in to Samsung | [Samsung TV](https://kroma.tv/docs/samsung-tv) |
25
25
  | LG | Install the Dev Mode app, turn on Dev Mode and its key server | [LG TV](https://kroma.tv/docs/lg-tv) |
26
26
  | Android TV, Google TV | Turn on network debugging in the developer options | [Android TV](https://kroma.tv/docs/android-tv) |
27
27
  | Apple TV | Nothing to do here: KROMA for Apple TV comes from TestFlight | [Apple TV](https://kroma.tv/docs/apple-tv) |
28
28
 
29
29
  ## What it puts on your computer
30
30
 
31
- - For a Samsung TV, nothing. The installer signs the app with your Samsung
32
- certificate and sends it to the TV itself.
31
+ - For a Samsung TV, no tool. The installer asks Samsung for the certificate of
32
+ your TV, keeps it in `~/.kroma/certificates/samsung`, signs the app with it
33
+ and sends it to the TV itself. Tizen Studio is not needed.
33
34
  - For an LG TV, LG's command-line tools, installed with npm into
34
35
  `~/.kroma/tools`.
35
36
  - For an Android TV, Google's `adb`, downloaded into `~/.kroma/tools`. An
@@ -47,7 +48,7 @@ it on the sets you choose. Run it again to update KROMA.
47
48
  | `npx @kromatv/installer scan` | List what answered and stop, the picker without the picking. |
48
49
  | `npx @kromatv/installer install <target>` | Put KROMA on one set, or on all of them, without the picker. |
49
50
  | `npx @kromatv/installer probe <host>` | Ask a Samsung set what it is over sdb, installing nothing. |
50
- | `npx @kromatv/installer certificate` | Generate a Samsung author certificate and the profile the tools sign with. |
51
+ | `npx @kromatv/installer certificate <host>` | Get Samsung's certificates for a set: sign in to Samsung once, and every install signs with them. |
51
52
  | `npx @kromatv/installer tools <platform>` | Install the toolchain a platform needs, which the picker does on its own. |
52
53
  | `npx @kromatv/installer doctor` | Show which toolchains this computer already has. |
53
54
 
@@ -77,10 +78,16 @@ Mode app running and an Android TV without network debugging do not answer.
77
78
 
78
79
  ### A Samsung TV refuses the certificate
79
80
 
80
- The app must be signed with a certificate that Samsung issued for that TV. See
81
- [Create a certificate for your TV](https://kroma.tv/docs/samsung-tv#create-a-certificate-for-your-tv).
82
- The error message gives the ID of the TV, called a DUID, to put in the
83
- certificate.
81
+ The app must be signed with a certificate that Samsung issued for that TV. Get
82
+ one with `npx @kromatv/installer certificate TV_ADDRESS`, where `TV_ADDRESS` is
83
+ the address of the TV, and sign in to your Samsung account when the browser
84
+ opens.
85
+
86
+ ### `Author certificate not match`
87
+
88
+ A KROMA signed with another certificate is already on the TV. Delete it: in
89
+ **Apps**, hold the select button on the KROMA tile, then choose **Delete**.
90
+ Install again.
84
91
 
85
92
  ### `GitHub did not list the stable release`
86
93