forwardemail 0.14.23 → 0.14.25
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 +6 -2
- package/dist/forwardemail.cjs +443 -441
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -280,9 +280,11 @@ export FORWARDEMAIL_API_URL=https://api.mail.example.com
|
|
|
280
280
|
|
|
281
281
|
## Updates
|
|
282
282
|
|
|
283
|
-
**Standalone executables update themselves.** At most once a day, `forwardemail` checks the latest GitHub release in the background while you use it. If there is a newer version, it downloads the build for your system, verifies its SHA-256 checksum against the release's `SHA256SUMS.txt`, and replaces the executable atomically. The new version runs the next time you start the app, and a one-line note is printed when you quit. To update right away, run `forwardemail update`.
|
|
283
|
+
**Standalone executables update themselves.** At most once a day, `forwardemail` checks the latest GitHub release in the background while you use it. If there is a newer version, it downloads the build for your system, verifies its SHA-256 checksum against the release's `SHA256SUMS.txt`, and replaces the executable atomically. The new version runs the next time you start the app, and a one-line note is printed when you quit. If the executable cannot be replaced (for example, it was installed somewhere you cannot write to), the note says so. To update right away, run `forwardemail update`.
|
|
284
284
|
|
|
285
|
-
**npm installs** check the same way but do not change anything themselves. When an update is available, a note on exit says to run `forwardemail update
|
|
285
|
+
**npm, pnpm, Yarn and Bun installs** check the same way but do not change anything themselves. When an update is available, a note on exit says to run `forwardemail update`. That runs the package manager that installed the copy (`npm install -g`, `pnpm add -g`, `yarn global add` or `bun add -g` with `forwardemail@latest`), then checks what `forwardemail --version` reports. If the copy on your `PATH` still answers with the old version, it says where that copy is: another copy earlier on `PATH`, or this one, when the package manager installed the update into another folder (one that belongs to another Node.js install, for example).
|
|
286
|
+
|
|
287
|
+
**Settings › Check for Updates** uses the same updater: an executable installs the new version for the next start, and a package install shows the command to run. The app keeps running the version it started with until you restart it.
|
|
286
288
|
|
|
287
289
|
Turn the check off with `--no-update-check` or `FORWARDEMAIL_NO_UPDATE_CHECK=1`. A failed check (offline, rate-limited) is silent and is retried at the next start.
|
|
288
290
|
|
|
@@ -344,6 +346,8 @@ The terminal client runs the webmail's own code, so features behave the same way
|
|
|
344
346
|
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.profile
|
|
345
347
|
```
|
|
346
348
|
|
|
349
|
+
**`forwardemail --version` shows the old version after updating.** Another copy comes first on your `PATH`, for example an npm install next to a downloaded executable. List every copy with `which -a forwardemail` (macOS and Linux) or `Get-Command -All forwardemail` (Windows), and remove the ones you do not use (an npm install: `npm uninstall -g forwardemail`). The installers warn about this, and so does `forwardemail update` for a package install.
|
|
350
|
+
|
|
347
351
|
**Something else is wrong.** Run `FORWARDEMAIL_DEBUG=1 forwardemail`, reproduce the problem, and attach `forwardemail.log` from the data directory to an [issue](https://github.com/forwardemail/mail.forwardemail.net/issues). Check the log for anything private before posting it.
|
|
348
352
|
|
|
349
353
|
## How it works
|