Skip to content

Commit 6e70dec

Browse files
committed
Update minshell.html
1 parent ebf2f61 commit 6e70dec

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/minshell.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@
5454
// 'Ask where to save each file before downloading' - which you can set true/false.
5555
// If you enable this setting it would always ask you and bring the SaveAsDialog
5656
saveAs(blob, localFSname);
57+
58+
// Alternative implementation to avoid FileSaver.js
59+
//const link = document.createElement("a");
60+
//link.href = URL.createObjectURL(blob);
61+
//link.download = localFSname;
62+
//link.click();
5763
}
5864
</script>
5965
</head>

0 commit comments

Comments
 (0)