Skip to content

Commit

Permalink
chore: 禁用警告
Browse files Browse the repository at this point in the history
  • Loading branch information
Cnotech committed Dec 16, 2024
1 parent bea1907 commit a80bc49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/types/steps/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ fn set_system_path(record: &str, is_add: bool) -> Result<bool> {
.map_err(|err| anyhow!("Error(Path):Can't write to register : {err}"))?;

// 发送全局广播
#[allow(clippy::manual_c_str_literals)]
let result = unsafe {
SendMessageTimeoutA(
HWND_BROADCAST,
Expand Down

0 comments on commit a80bc49

Please sign in to comment.