update
This commit is contained in:
@@ -9,6 +9,7 @@ import type {
|
||||
Backend,
|
||||
InstallProgress,
|
||||
LogEvent,
|
||||
Market,
|
||||
Settings,
|
||||
SignInResult,
|
||||
StackEvent,
|
||||
@@ -47,6 +48,9 @@ function createTauriBackend(): Backend {
|
||||
getStack: () => invoke<StackEvent[]>("get_stack"),
|
||||
startInstall: () => invoke<void>("start_install"),
|
||||
startInstallFromDrive: (path) => invoke<void>("start_install_from_drive", { path }),
|
||||
getMarket: (drive) => invoke<Market>("get_market", drive === undefined ? {} : { drive }),
|
||||
applyMarket: (selected) => invoke<void>("apply_market", { selected }),
|
||||
setMarket: (selected, drive) => invoke<void>("set_market", drive === undefined ? { selected } : { selected, drive }),
|
||||
cancelInstall: () => invoke<void>("cancel_install"),
|
||||
launch: () => invoke<void>("launch"),
|
||||
stop: () => invoke<void>("stop"),
|
||||
|
||||
Reference in New Issue
Block a user