mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 17:20:30 +08:00
fixed patching
This commit is contained in:
parent
32a2e86363
commit
73069ec44e
@ -11,7 +11,7 @@ env_path = join(deps_path, env["PIOENV"])
|
|||||||
flag_path = join(env_path, ".patched")
|
flag_path = join(env_path, ".patched")
|
||||||
|
|
||||||
if not exists(flag_path):
|
if not exists(flag_path):
|
||||||
env.Execute(f"patch -p1 -d {join(env_path, 'HID-Project_ID523')} < {join('patches', 'absmouse.patch')}")
|
env.Execute(f"patch -p1 -d {join(env_path, 'HID-Project')} < {join('patches', 'absmouse.patch')}")
|
||||||
|
|
||||||
def touch_flag(*_, **__) -> None:
|
def touch_flag(*_, **__) -> None:
|
||||||
with open(flag_path, "w") as flag_file:
|
with open(flag_path, "w") as flag_file:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user