fix(input): preserve keyboard modifiers while preventing forged lock keys (#34)
This commit is contained in:
31 files changed
+569
-40
No files matched your search
+2
-2
@@ -2,7 +2,7 @@
|
||||
|
||||
use anyhow::{Context, Result};
|
||||
use std::path::Path;
|
||||
use std::process::{Command, Stdio};
|
||||
use std::process::Stdio;
|
||||
|
||||
pub fn sync(prefix: &Path) -> Result<Option<String>> {
|
||||
let http = environment_proxy("HTTP_PROXY", "http_proxy");
|
||||
@@ -60,7 +60,7 @@ fn proxy_endpoint(value: &str) -> Option<String> {
|
||||
}
|
||||
|
||||
fn reg_add(prefix: &Path, value: &str, kind: &str, data: &str) -> Result<()> {
|
||||
let status = Command::new("wine")
|
||||
let status = crate::wine::command(prefix)
|
||||
.env("WINEPREFIX", prefix)
|
||||
.env("WINEDEBUG", "-all")
|
||||
.args([
|
||||
|
||||
Reference in new issue
Block a user