Skip to content

Instantly share code, notes, and snippets.

@andres-asm
Created September 20, 2016 06:10
Show Gist options
  • Save andres-asm/4f68d2573eb5dba88356553d06ab8cc4 to your computer and use it in GitHub Desktop.
Save andres-asm/4f68d2573eb5dba88356553d06ab8cc4 to your computer and use it in GitHub Desktop.
function downloadSave()
{
var data = FS.readFile('/home/web_user/retroarch/userdata/content/down.bin',{ encoding: 'binary' });
var blob = new Blob([data], {type: "binary"});
saveAs(blob, "down.bin");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment