feat: enable drag area for tauri apps

This commit is contained in:
Yidadaa
2023-06-15 23:20:14 +08:00
parent 47c546fafa
commit 698be6671c
10 changed files with 73 additions and 14 deletions

View File

@@ -1,9 +1,9 @@
[package]
name = "chatgpt-next-web"
version = "0.1.0"
description = "A Tauri App"
description = "A cross platform app for LLM ChatBot."
authors = ["Yidadaa"]
license = "anti-996"
license = "mit"
repository = ""
default-run = "chatgpt-next-web"
edition = "2021"
@@ -17,7 +17,7 @@ tauri-build = { version = "1.3.0", features = [] }
[dependencies]
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
tauri = { version = "1.3.0", features = [] }
tauri = { version = "1.3.0", features = ["clipboard-all", "shell-open", "window-close", "window-hide", "window-maximize", "window-minimize", "window-set-icon", "window-set-ignore-cursor-events", "window-set-resizable", "window-show", "window-start-dragging", "window-unmaximize", "window-unminimize"] }
[features]
# this feature is used for production builds or when `devPath` points to the filesystem and the built-in dev server is disabled.