[WS] Do not emit autorun.dat contents

git-svn-id: svn://kolibrios.org@9376 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Magomed Kostoev (mkostoevr) 2021-12-03 20:14:49 +00:00
parent bd07f0807d
commit 84837f41d5

View File

@ -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")