From 29aaba654c525788d1a3ff56b81a178edcbe0035 Mon Sep 17 00:00:00 2001 From: CJ Pais Date: Fri, 16 May 2025 10:32:25 -0700 Subject: [PATCH] Clean up Linux build. --- src-tauri/Cargo.toml | 1 + src-tauri/src/utils.rs | 1 + src-tauri/tauri.conf.json | 12 +++++++++--- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index ea5b546..94f5d52 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 f533628..17aa2cf 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 c4835bd..0ab8e29 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/128x128@2x.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" + } + } } } }