Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 9375 → Rev 9376

/_tools/workspace/run.py
88,7 → 88,6
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")