Skip to content

armgit / Handy

Public Imported from GitHub
0

A free, open source, and extensible speech-to-text application that works completely offline.

Clean up Linux build.

CJ Pais29aaba654c52
diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
index ea5b5461..94f5d526 100644
--- a/src-tauri/Cargo.toml
+++ b/src-tauri/Cargo.toml
@@ -4,6 +4,7 @@ version = "0.1.0"
description = "Handy"
authors = ["cjpais"]
edition = "2021"
+license = "MIT"
[profile.dev]
incremental = true # Compile your binary in smaller steps.
diff --git a/src-tauri/src/utils.rs b/src-tauri/src/utils.rs
index f533628f..17aa2cf2 100644
--- a/src-tauri/src/utils.rs
+++ b/src-tauri/src/utils.rs
@@ -18,6 +18,7 @@ fn send_with_delay(event: EventType, delay_ms: u64) {
thread::sleep(time::Duration::from_millis(delay_ms));
}
+// TODO: use enigo for paste not on macos?
fn send_paste() {
// Determine the modifier key based on the OS
#[cfg(target_os = "macos")]
diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json
index c4835bdd..0ab8e29c 100644
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -29,14 +29,13 @@
"active": true,
"targets": "all",
"resources": ["resources/**/*"],
+ "license": "MIT",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/icon.icns",
- "icons/icon.ico",
- "icons/tray_32x32.png",
- "icons/tray_64x64.png"
+ "icons/icon.ico"
],
"macOS": {
"files": {},
@@ -44,6 +43,13 @@
"minimumSystemVersion": "10.13",
"signingIdentity": "-",
"entitlements": "Entitlements.plist"
+ },
+ "linux": {
+ "rpm": {
+ "compression": {
+ "type": "none"
+ }
+ }
}
}
}