From 84837f41d5422b4391b46249500de94bf24747a0 Mon Sep 17 00:00:00 2001 From: "Magomed Kostoev (mkostoevr)" Date: Fri, 3 Dec 2021 20:14:49 +0000 Subject: [PATCH] [WS] Do not emit autorun.dat contents git-svn-id: svn://kolibrios.org@9376 a494cfbc-eb01-0410-851d-a64ba20cac60 --- _tools/workspace/run.py | 1 - 1 file changed, 1 deletion(-) diff --git a/_tools/workspace/run.py b/_tools/workspace/run.py index c1e6d5e746..1d4886f736 100644 --- a/_tools/workspace/run.py +++ b/_tools/workspace/run.py @@ -88,7 +88,6 @@ if __name__ == "__main__": autorun_dat = img.extract_file_path("SETTINGS\AUTORUN.DAT") place_for_new_lines = autorun_dat.index(b"\r\n/SYS/@TASKBAR")# b"\r\n### Hello, ASM World! ###") autorun_dat = autorun_dat[:place_for_new_lines] + lines_to_add + autorun_dat[place_for_new_lines:] - print(autorun_dat) img.delete_path("SETTINGS\AUTORUN.DAT") img.add_file_path("SETTINGS\AUTORUN.DAT", autorun_dat) log("Done")