mirror of
https://github.com/Hackdex-App/hackdex-website.git
synced 2026-10-18 21:58:28 -05:00
Keep patched ROM downloads from being saved as .gba.txt (#89)
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -48,7 +48,7 @@ function createBlobSink(fileName: string): OutputSink {
|
||||
chunks.push(asArrayBufferView(bytes));
|
||||
},
|
||||
async close() {
|
||||
triggerBlobDownload(new Blob(chunks), fileName);
|
||||
triggerBlobDownload(new Blob(chunks, { type: "application/octet-stream" }), fileName);
|
||||
},
|
||||
async abort() {
|
||||
chunks.length = 0;
|
||||
|
||||
Reference in New Issue
Block a user