Update Build.ps1

Make all the rom / flash disk files read only for additional protection.
This commit is contained in:
b1ackmai1er
2020-12-06 14:52:03 +08:00
parent f3437487e5
commit bdbe5df54e

View File

@@ -226,6 +226,9 @@ foreach ($App in $RomApps)
cpmcp -f $RomFmt $RomDiskFile ..\cpm22\cpm_${Bios}.sys 0:cpm.sys
cpmcp -f $RomFmt $RomDiskFile ..\zsdos\zsys_${Bios}.sys 0:zsys.sys
# Set all the files in the ROM disk image to read only for extra protection under flash file system.
cpmchattr -f $RomFmt $RomDiskFile r 0:*.*
#
# Finally, the individual binary components are concatenated together to produce
# the final images.