favo-cli 0.3.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
- 92b405d2ef3581c5a9d5c712a4e1e2f78c7a23528c749a77a2faecbccd1b2207 favo-darwin-arm64.gz
2
- 150a58e3531a7699cd9c6e08f32aa8982436f2a92ee48d4b9fbae69bebbf214a favo-darwin-x64.gz
3
- cf2970455aad52a3691f30a0467a20faaa093e70624b0cedaf10a74ec78d427a favo-linux-x64.gz
4
- c9f6c069d05de4e0faf44a09c8646dc992aa8f387dcafd5d995e16c6402ac51d favo-linux-arm64.gz
5
- 78acab775fec7ba7398aab3d604eb30573a06b4cb19f9126c7b5c0600f34e917 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.3.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",