// src/dbop.tsimportDatabasefrom"tauri-plugin-sql-api";//初始化数据库连接asyncfunctioninitDb(){//sqlite数据库,路径相对于tauri::api::path::BaseDirectory::Appconstdb=awaitDatabase.load("sqlite:example.db");returndb;}// 创建表exportasyncfunctioncreateAuthTable(){constdb=awaitinitDb();awaitdb.e...
Tauri, an app construction toolkit, enables the development of software for all primary desktop operating systems using web technologies. This plugin simplifies the process of scaffolding a new project by offering opinionated templates for not only vanil
tauri-apps/plugins-workspace All of the official Tauri plugins in one place! hacktoberfesttauritauri-plugin UpdatedDec 13, 2024 Rust agmmnn/tauri-controls Star693 🚥 Native-looking window controls for Tauri 2. React, Solid, Vue, Svelte+Tailwind. ...
Tauri Plugin是一个用于构建现代、跨平台、无web依赖的桌面应用的工具库。它是基于Rust和Web技术栈创建的,提供了一种简单而有效的方式来构建和扩展桌面应用程序。其中,Tauri Plugin Notification则是Tauri的一个插件,它可以帮助开发人员在桌面应用程序中添加强大的通知功能。 一、Tauri Plugin Notification的基本功能 Tauri...
tauri-plugin-shell = "2.0.0-beta.0" tauri-plugin-autostart = "2.0.0-beta.0" tauri-plugin-os = "=2.0.0-beta.0" tauri-plugin-dialog = "=2.0.0-beta.0" tauri-plugin-fs = "=2.0.0-beta.0" tauri-plugin-shell = "=2.0.0-beta.0" tauri-plugin-autostart = "=2.0.0-beta.0" taur...
Install rust crate fromhttps://crates.io/crates/tauri-plugin-shellx Init plugin like this. Theinit()function takes a singleunlockedargument. letunlocked =true;tauri::Builder::default().plugin(tauri_plugin_shellx::init(unlocked))... If set to true, capability and permission settings are ignore...
Tauri, an app construction toolkit, enables the development of software for all primary desktop operating systems using web technologies. This plugin simplifies the...
A plugin for Tauri that provides a polyfill for Gamepad Web API that works on most common platforms. It's built on top of gilrs library. Tauri versions support Tauri versiongit 1.x 0.0.2 2.0.0-beta 0.0.3 2.0.0-rc 0.0.4 Why By default WebKit does not support all the joysticks and ...
[dependencies.tauri-plugin-fs-watch] git = "https://github.com/tauri-apps/tauri-plugin-fs-watch" tag = "v0.1.0" #branch = "main" Use in src-tauri/src/main.rs: use tauri_plugin_fs_watch::Watcher; fn main() { tauri::Builder::default() .plugin(Watcher::default()) .build() .ru...
"tauri-codegen", "tauri-utils", ] [[package]] name = "tauri-plugin-io" version = "0.0.1" dependencies = [ "serde", "tauri", "x-hash", "x-io", ] [[package]] name = "tauri-runtime" version = "0.14.2" source = "registry+https://github.com/rust-lan...