Skip to content

Commit

Permalink
chore: Rename payload procedure rpc
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotmelon committed Aug 12, 2024
1 parent 7b33920 commit 77737a8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,10 @@ fn rpc(
write_path: impl AsRef<Path>,
) -> Result<()> {
let rpc = unsafe {
syringe.get_payload_procedure::<fn(PathBuf, PathBuf) -> Option<String>>(module, "main")
syringe.get_payload_procedure::<fn(PathBuf, PathBuf) -> Option<String>>(
module,
"payload_procedure",
)
}?
.ok_or(anyhow!("Failed to get RPC procedure"))?;
match rpc.call(
Expand Down

0 comments on commit 77737a8

Please sign in to comment.