Skip to content

Commit

Permalink
meson: Fix the agent build automation on Windows
Browse files Browse the repository at this point in the history
The path to frida-compile.cmd needs to be absolute.
  • Loading branch information
oleavr committed Apr 25, 2024
1 parent f9c77be commit 22dcccf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions agents/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ def build(npm: Path, inputs: list[Path], output_js: Path, priv_dir: Path):

subprocess.run([npm, "install"], capture_output=True, cwd=priv_dir, check=True)

frida_compile = Path("node_modules") / ".bin" / f"frida-compile{script_suffix()}"

frida_compile = priv_dir / "node_modules" / ".bin" / f"frida-compile{script_suffix()}"
subprocess.run([frida_compile, entrypoint, "-c", "-o", output_js], cwd=priv_dir, check=True)


Expand Down

0 comments on commit 22dcccf

Please sign in to comment.