diff --git a/docs/usage/guides/updater.md b/docs/usage/guides/updater.md index b4c370aa3..bbd29cf85 100644 --- a/docs/usage/guides/updater.md +++ b/docs/usage/guides/updater.md @@ -59,7 +59,7 @@ If the user accepts, the download and install are initialized. The user will be ```js import { checkUpdate, installUpdate } from "@tauri-apps/api/updater"; -import { relaunch } from "@tauri-apps/api/app"; +import { relaunch } from "@tauri-apps/api/process"; try { const {shouldUpdate, manifest} = await checkUpdate(); if (shouldUpdate) {