Refactored disk images to slim down main 800k image.

This commit is contained in:
Martin Haye 2017-01-11 07:36:59 -08:00
parent 545538c5d0
commit 3c6814e7af
5 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -28,6 +28,7 @@ mg
/Platform/Apple/virtual/data/world/*.xml
/Platform/Apple/virtual/data/world/*.cache
/Platform/Apple/virtual/data/world/*.tsv
/Platform/Apple/virtual/*.2mg
# Only check in sample.build.props; each person's build.props will be different.
/Platform/Apple/virtual/src/include/build.props

View File

@ -2618,7 +2618,7 @@ end
// Decompress the base image.
// No need to delete old file; that was done by outer-level code.
def dst = new File("game.2mg")
Files.copy(new GZIPInputStream(new FileInputStream(jitCopy(new File("build/data/disks/base.2mg.gz")))), dst.toPath())
Files.copy(new GZIPInputStream(new FileInputStream(jitCopy(new File("build/data/disks/base_800k.2mg.gz")))), dst.toPath())
// Now put the files into the image
String[] args = ["-put", "game.2mg", "/", "build/root"]

Binary file not shown.

Binary file not shown.