Clean up Linux build.
This commit is contained in:
parent
6e8128defd
commit
29aaba654c
3 changed files with 11 additions and 3 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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")]
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue