fix(docs): wrong import path on updater guide

This commit is contained in:
Lucas Nogueira 2021-08-14 10:39:07 -03:00
parent 206c1d0f23
commit aa0828f8ad
No known key found for this signature in database
GPG Key ID: 2714B66BCFB01F7F

View File

@ -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) {