From b458a16c229287961da3cb4404fd044bc53852fb Mon Sep 17 00:00:00 2001 From: shenjack-5600u <3695888@qq.com> Date: Thu, 9 May 2024 21:52:39 +0800 Subject: [PATCH] mts --- ica-rs/plugins/namerena.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ica-rs/plugins/namerena.py b/ica-rs/plugins/namerena.py index 8bcbe4e..0e7a2b4 100644 --- a/ica-rs/plugins/namerena.py +++ b/ica-rs/plugins/namerena.py @@ -43,7 +43,7 @@ def on_ica_message(msg: IcaNewMessage, client: IcaClient) -> None: with open(root_path / "md5" / "input.txt", "w") as f: f.write(names) # 执行 node md5.js - runner_path = root_path / "md5" / "runs.ts" + runner_path = root_path / "md5" / "runs.mts" input_path = root_path / "md5" / "input.txt" result = subprocess.run( ["npm", "x", "tsx", runner_path.absolute(), input_path.absolute()],