Clean up Linux build.

This commit is contained in:
CJ Pais 2025-05-16 10:32:25 -07:00
parent 6e8128defd
commit 29aaba654c
3 changed files with 11 additions and 3 deletions

View file

@ -4,6 +4,7 @@ version = "0.1.0"
description = "Handy" description = "Handy"
authors = ["cjpais"] authors = ["cjpais"]
edition = "2021" edition = "2021"
license = "MIT"
[profile.dev] [profile.dev]
incremental = true # Compile your binary in smaller steps. incremental = true # Compile your binary in smaller steps.

View file

@ -18,6 +18,7 @@ fn send_with_delay(event: EventType, delay_ms: u64) {
thread::sleep(time::Duration::from_millis(delay_ms)); thread::sleep(time::Duration::from_millis(delay_ms));
} }
// TODO: use enigo for paste not on macos?
fn send_paste() { fn send_paste() {
// Determine the modifier key based on the OS // Determine the modifier key based on the OS
#[cfg(target_os = "macos")] #[cfg(target_os = "macos")]

View file

@ -29,14 +29,13 @@
"active": true, "active": true,
"targets": "all", "targets": "all",
"resources": ["resources/**/*"], "resources": ["resources/**/*"],
"license": "MIT",
"icon": [ "icon": [
"icons/32x32.png", "icons/32x32.png",
"icons/128x128.png", "icons/128x128.png",
"icons/128x128@2x.png", "icons/128x128@2x.png",
"icons/icon.icns", "icons/icon.icns",
"icons/icon.ico", "icons/icon.ico"
"icons/tray_32x32.png",
"icons/tray_64x64.png"
], ],
"macOS": { "macOS": {
"files": {}, "files": {},
@ -44,6 +43,13 @@
"minimumSystemVersion": "10.13", "minimumSystemVersion": "10.13",
"signingIdentity": "-", "signingIdentity": "-",
"entitlements": "Entitlements.plist" "entitlements": "Entitlements.plist"
},
"linux": {
"rpm": {
"compression": {
"type": "none"
}
}
} }
} }
} }