favo-cli 0.4.0 → 0.5.0

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
@@ -15,6 +15,10 @@ This package is a small launcher with no dependencies and no install scripts. Th
15
15
 
16
16
  It runs on macOS (Apple Silicon and Intel), Linux (x64 and arm64, glibc only) and Windows (x64). Alpine and other musl systems aren't supported yet. It needs Node 20.11 or newer.
17
17
 
18
+ ## Updating
19
+
20
+ Run `favo update`. It updates this package with the package manager that installed it, then favo on your other machines and the provider CLIs. A running favo never blocks an update, because each version keeps its own folder.
21
+
18
22
  ## More
19
23
 
20
24
  The source, documentation and issues are at <https://github.com/irwinarruda/favo-cli>. favo is MIT licensed, and `THIRD-PARTY-NOTICES.md` lists what its binaries contain.
package/SHA256SUMS CHANGED
@@ -1,5 +1,5 @@
1
- 02ae9f699bc6da38bde2367f461652d8d63283f80ad2846b11cb55ea5aea051b favo-darwin-arm64.gz
2
- 2c1b8d18e9a04b584f5bae8edf5efa28040364a32b18420e134f9d1d8ef5cf55 favo-darwin-x64.gz
3
- 34614473ccc2c7b2eb48820db747c889c108e3afae0c3e1c8a2ce8e527642b36 favo-linux-x64.gz
4
- 81f9af5a064fb4ffcaa4323a6dcd226717223084a79d517c037c11b1b1380518 favo-linux-arm64.gz
5
- 884713a8cc4d962332db9117a96ce52b8890ddbf5940dbd8c53d013b780c49ab favo-windows-x64.exe.gz
1
+ a8b14d4107f6129bf7cfe28134c24e05814b6e67912a945438c015247cd92621 favo-darwin-arm64.gz
2
+ 2a7e9747d714e5a69d65962dfe9dadcb84f90dcdb37df9b99687baf9f5517a93 favo-darwin-x64.gz
3
+ c5c92242eb56df7215da9a8ecd04f5c03f435313ba98d1d95034376d25499edd favo-linux-x64.gz
4
+ a4995337712e0a557e0ec74d9a7bc691bd49d5cca717a7840ef92695877f64b2 favo-linux-arm64.gz
5
+ 4d438a52264feb5b5bc3b6934913e3b9895fd796b74ed806414a585cf6524da0 favo-windows-x64.exe.gz
package/bin/favo.mjs CHANGED
@@ -187,7 +187,10 @@ function assertGlibc() {
187
187
  }
188
188
 
189
189
  function run(binary) {
190
- const child = spawn(binary, process.argv.slice(2), { stdio: 'inherit' });
190
+ const child = spawn(binary, process.argv.slice(2), {
191
+ stdio: 'inherit',
192
+ env: { ...process.env, FAVO_LAUNCHER: process.argv[1], FAVO_LAUNCHER_NODE: process.execPath },
193
+ });
191
194
  process.on('SIGINT', () => {});
192
195
  for (const signal of ForwardedSignals) process.on(signal, () => child.kill(signal));
193
196
  child.on('error', fail);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "favo-cli",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "favo keeps several AI subscriptions on every computer you own. Downloads the self-contained executable for this platform from the GitHub Release.",
5
5
  "keywords": [
6
6
  "favo",