From aa0828f8ad3c76a4dc53ebf7fd92cdcd2b1a2ced Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Sat, 14 Aug 2021 10:39:07 -0300 Subject: [PATCH] fix(docs): wrong import path on updater guide --- docs/usage/guides/updater.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {