fix: use Files.write() for byte[] return from buildCdOnlyJsdosJson
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:
Hermes Agent
2026-06-03 11:58:45 +02:00
parent 6f59028cb0
commit 4cdd72b3e2
@@ -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)