mirror of
https://github.com/tauri-apps/tauri.git
synced 2025-01-02 07:56:20 +03:00
fix(docs): wrong import path on updater guide
This commit is contained in:
parent
206c1d0f23
commit
aa0828f8ad
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user