fix: use Files.write() for byte[] return from buildCdOnlyJsdosJson
Build & Deploy / build-and-deploy (push) Successful in 36s
Build & Deploy / build-and-deploy (push) Successful in 36s
Files.writeString expects CharSequence, but buildCdOnlyJsdosJson returns byte[]. Changed to Files.write() which accepts byte[].
This commit is contained in:
@@ -454,7 +454,7 @@ public class UploadResource {
|
|||||||
} else {
|
} else {
|
||||||
// CD-only game — no executable, mount CD and show a DOS prompt
|
// CD-only game — no executable, mount CD and show a DOS prompt
|
||||||
Files.writeString(jsdos.resolve("dosbox.conf"), buildCdOnlyDosboxConf(cdImages));
|
Files.writeString(jsdos.resolve("dosbox.conf"), buildCdOnlyDosboxConf(cdImages));
|
||||||
Files.writeString(jsdos.resolve("jsdos.json"), buildCdOnlyJsdosJson());
|
Files.write(jsdos.resolve("jsdos.json"), buildCdOnlyJsdosJson());
|
||||||
}
|
}
|
||||||
|
|
||||||
// ZIP it up directly from extractDir (no temp copy)
|
// ZIP it up directly from extractDir (no temp copy)
|
||||||
|
|||||||
Reference in New Issue
Block a user