Drone Config

This commit is contained in:
2023-07-23 15:00:54 -04:00
parent a847d8c52c
commit 8a10aa8853
10 changed files with 570 additions and 27 deletions

22
src-tauri/Cargo.lock generated
View File

@@ -1773,6 +1773,16 @@ dependencies = [
"windows-sys 0.42.0",
]
[[package]]
name = "os_pipe"
version = "1.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0ae859aa07428ca9a929b936690f8b12dc5f11dd8c6992a18ca93919f28bc177"
dependencies = [
"libc",
"windows-sys 0.48.0",
]
[[package]]
name = "overload"
version = "0.1.1"
@@ -2448,6 +2458,16 @@ dependencies = [
"lazy_static",
]
[[package]]
name = "shared_child"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b0d94659ad3c2137fef23ae75b03d5241d633f8acded53d672decfa0e6e0caef"
dependencies = [
"libc",
"winapi",
]
[[package]]
name = "simd-adler32"
version = "0.3.5"
@@ -2701,6 +2721,7 @@ dependencies = [
"objc",
"once_cell",
"open",
"os_pipe",
"percent-encoding",
"rand 0.8.5",
"raw-window-handle",
@@ -2710,6 +2731,7 @@ dependencies = [
"serde_json",
"serde_repr",
"serialize-to-javascript",
"shared_child",
"state",
"tar",
"tauri-macros",

View File

@@ -13,7 +13,7 @@ edition = "2021"
tauri-build = { version = "1.4", features = [] }
[dependencies]
tauri = { version = "1.4", features = [ "fs-all", "path-all", "shell-open"] }
tauri = { version = "1.4", features = [ "shell-sidecar", "shell-execute", "shell-open", "fs-all", "path-all"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
enigo = "0.1.2"

View File

@@ -6,7 +6,6 @@ use std::thread;
use std::time::Duration;
use arboard::Clipboard;
// Learn more about Tauri commands at https://tauri.app/v1/guides/features/command
#[tauri::command]
fn type_str(input: String) {
#[cfg(dev)]

View File

@@ -15,7 +15,14 @@
"all": false,
"shell": {
"all": false,
"open": true
"sidecar": true,
"execute": true,
"open": true,
"scope": [{
"name" : "open-link",
"cmd": "powershell.exe",
"args": ["-Command", "Start-Process", {"validator": "\\S+"}]
}]
},
"fs": {
"all": true,