完成初步框架
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import * as tauriApp from "@tauri-apps/api/app";
|
||||
import * as tauriCore from "@tauri-apps/api/core";
|
||||
import * as tauriEvent from "@tauri-apps/api/event";
|
||||
import * as tauriWebviewWindow from "@tauri-apps/api/webviewWindow";
|
||||
import * as tauriFs from "@tauri-apps/plugin-fs";
|
||||
import * as tauriNotification from "@tauri-apps/plugin-notification";
|
||||
@@ -13,6 +15,8 @@ const capitalize = (name: string) => {
|
||||
|
||||
const tauriModules = [
|
||||
{ module: tauriApp, prefix: "App", importPath: "@tauri-apps/api/app" },
|
||||
{ module: tauriCore, prefix: "Core", importPath: "@tauri-apps/api/core" },
|
||||
{ module: tauriEvent, prefix: "Event", importPath: "@tauri-apps/api/event" },
|
||||
{ module: tauriWebviewWindow, prefix: "WebviewWindow", importPath: "@tauri-apps/api/webviewWindow" },
|
||||
{ module: tauriShell, prefix: "Shell", importPath: "@tauri-apps/plugin-shell" },
|
||||
{ module: tauriOs, prefix: "Os", importPath: "@tauri-apps/plugin-os" },
|
||||
|
Reference in New Issue
Block a user