File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -356,7 +356,7 @@ addEventListener("message", async (event) => {
356356 }
357357 if ( event . data . anura_target === "anura.bootFromOPFS" ) {
358358 if ( event . data . value ) {
359- opfs = await LocalFS . newSwOPFS ( ) ;
359+ opfs = await LocalFS . newRootOPFS ( ) ;
360360 globalThis . anura = { fs : opfs } ; // Stupid thing for AFSShell compat
361361 opfssh = new AFSShell ( ) ;
362362 } else {
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ window.addEventListener("load", async () => {
104104 let bootStrapFs = Filer . fs ;
105105
106106 if ( await ( window as any ) . idbKeyval . get ( "bootFromOPFS" ) ) {
107- bootStrapFs = ( await LocalFS . newSwOPFS ( ) ) as any ;
107+ bootStrapFs = ( await LocalFS . newRootOPFS ( ) ) as any ;
108108 }
109109 try {
110110 conf = await ( await fetch ( "/config.json" ) ) . json ( ) ;
You can’t perform that action at this time.
0 commit comments