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"
authors = ["cjpais"]
edition = "2021"
license = "MIT"
[profile.dev]
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));
}
// TODO: use enigo for paste not on macos?
fn send_paste() {
// Determine the modifier key based on the OS
#[cfg(target_os = "macos")]

View file

@ -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"
}
}
}
}
}