Update agent

This commit is contained in:
2026-09-30 00:50:44 +07:00
parent d77a09cff4
commit 9eff88215c
48 changed files with 6374 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
[package]
name = "meetvault_demo"
version = "0.1.0"
description = "MeetVault desktop demo"
authors = ["MeetVault"]
edition = "2021"
[lib]
name = "meetvault_demo_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies]
tauri-build = { version = "2", features = [] }
[dependencies]
tauri = { version = "2", features = [] }
tauri-plugin-fs = "2"
tauri-plugin-dialog = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"

View File

@@ -0,0 +1,3 @@
fn main() {
tauri_build::build()
}

View File

@@ -0,0 +1,25 @@
{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "MeetVault demo desktop permissions",
"windows": ["main", "overlay"],
"permissions": [
"core:default",
"core:webview:allow-create-webview-window",
"core:window:allow-show",
"core:window:allow-hide",
"core:window:allow-set-focus",
"fs:allow-mkdir",
"fs:allow-write-file",
"fs:allow-write-text-file",
"fs:allow-read-file",
{
"identifier": "fs:scope",
"allow": [
{ "path": "$APPLOCALDATA/meetings/**/*" },
{ "path": "$APPLOCALDATA/meetings/*" }
]
},
"dialog:default"
]
}

View File

@@ -0,0 +1,8 @@
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
tauri::Builder::default()
.plugin(tauri_plugin_fs::init())
.plugin(tauri_plugin_dialog::init())
.run(tauri::generate_context!())
.expect("error while running MeetVault");
}

View File

@@ -0,0 +1,3 @@
fn main() {
meetvault_demo_lib::run();
}

View File

@@ -0,0 +1,37 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "MeetVault Demo",
"version": "0.1.0",
"identifier": "com.meetvault.demo",
"build": {
"beforeDevCommand": "npm run dev",
"devUrl": "http://127.0.0.1:1420",
"beforeBuildCommand": "npm run build",
"frontendDist": "../dist"
},
"app": {
"windows": [
{
"label": "main",
"title": "MeetVault Demo",
"width": 1440,
"height": 900,
"minWidth": 1080,
"minHeight": 720,
"resizable": true,
"center": true
}
],
"security": {
"csp": null,
"assetProtocol": {
"enable": true,
"scope": ["$APPLOCALDATA/meetings/**/*"]
}
}
},
"bundle": {
"active": true,
"targets": "all"
}
}