Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the broken link in the updater plugin page #3132

Merged
merged 2 commits into from
Jan 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/content/docs/plugin/updater.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -305,9 +305,9 @@ Note that Tauri will validate the whole file before checking the version field,

### Dynamic Update Server

When using a dynamic update server, Tauri will follow the server's instructions. To disable the internal version check you can overwrite the [Tauri's version comparison](https://docs.rs/tauri/latest/tauri/updater/struct.UpdateBuilder.html#method.should_install), this will install the version sent by the server (useful if you need to roll back your app).
When using a dynamic update server, Tauri will follow the server's instructions. To disable the internal version check you can overwrite the [plugin's version comparison](https://docs.rs/tauri-plugin-updater/latest/tauri_plugin_updater/struct.UpdaterBuilder.html#method.version_comparator), this will install the version sent by the server (useful if you need to roll back your app).

Your server can use variables defined in the `endpoint` URL above to determine if an update is required. If you need more data, you can include additional [request headers in Rust](https://docs.rs/tauri/latest/tauri/updater/struct.UpdateBuilder.html#method.header) to your liking.
Your server can use variables defined in the `endpoint` URL above to determine if an update is required. If you need more data, you can include additional [request headers in Rust](https://docs.rs/tauri-plugin-updater/latest/tauri_plugin_updater/struct.UpdaterBuilder.html#method.header) to your liking.

Your server should respond with a status code of [`204 No Content`](https://datatracker.ietf.org/doc/html/rfc2616#section-10.2.5) if there is no update available.

Expand Down
Loading