From b7e1152036565812a917788dcf83cb76fe15e35d Mon Sep 17 00:00:00 2001 From: zyb Date: Sat, 20 Jul 2024 12:01:17 +0800 Subject: [PATCH] modified: patch.py --- patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patch.py b/patch.py index 65a0b4a..c0576e6 100644 --- a/patch.py +++ b/patch.py @@ -294,7 +294,7 @@ def patch_npk_package(package,key_dict): elif 'ARCH' in os.environ and os.environ['ARCH'] == '-arm64': run_shell_command(f"sudo cp keygen/keygen_aarch64 {keygen}") run_shell_command(f"sudo chmod a+x {keygen}") - run_shell_command(f'echo -e "\n https://github.com/elseif/MikroTikPatch" | sudo tee -a {os.path.join(extract_dir,"nova/lib/console/logo.txt")}') + run_shell_command(f'echo " https://github.com/elseif/MikroTikPatch" | sudo tee -a {os.path.join(extract_dir,"nova/lib/console/logo.txt")}') print(f"pack {extract_dir} ...") run_shell_command(f"rm -f {squashfs_file}") _, stderr = run_shell_command(f"mksquashfs {extract_dir} {squashfs_file} -quiet -comp xz -no-xattrs -b 256k")