Skip to content

Commit

Permalink
docs(migrate): Add warnings (#3128)
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianLars authored Jan 20, 2025
1 parent 26739c2 commit 481ded9
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/content/docs/start/migrate/from-tauri-1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ fn main() {

## Automated Migration

:::danger

This command is not a substitude for this guide! Please read the _whole_ page regardless of whether you chose to use the command.

:::

The Tauri v2 CLI includes a `migrate` command that automates most of the process and helps you finish the migration:

<CommandTabs
Expand Down Expand Up @@ -1061,7 +1067,11 @@ tauri::Builder::default()

### Migrate to Updater Plugin

The built-in dialog with an automatic update check was removed, use the Rust and JS APIs to check for and install updates instead.
:::caution[Change of default behavior]

The built-in dialog with an automatic update check was removed, use the Rust and JS APIs to check for and install updates instead. Failing to do so will prevent your users from getting further updates!

:::

The Rust `tauri::updater` and JavaScript `@tauri-apps/api-updater` APIs have been removed. To set a custom updater target with the `@tauri-apps/plugin-updater`:

Expand Down

0 comments on commit 481ded9

Please sign in to comment.