mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-01 10:01:07 +02:00
fix(docs): wrong import path on updater guide
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user