I'm stuck on the first step of the "Getting Started" guide.

1. I've downloaded helloworld.zip to my local computer, I think. 2. I open the filer.app.js by clicking the link on the webpage. This open a 90s.dev instance right on the page. 3. Then i'm supposed to mount helloworld/app as app and click it, so i click the mount button, it asks for the drive name, hi put in helloworld/app and click mount but nothing happens.

I must be missing how you're supposed to get helloworld.zip into the 90s.dev instance... how do you upload it into the instance?

Thanks for the feedback.

You're likely using Firefox, right? This feature relies on showDirectoryPicker which Firefox doesn't support. You'd have to use Chrome for the getting started guide.

Also, the drive name shouldn't have a path. Name it something like "foo". I'll udpate the guide to reflect this. Then foo/helloworld.app.js will point to /some/local/path/helloworld.app.js, as long as you mounted "foo" to point to the directory at "/some/local/path"

Boo for "Chrome only"!

Could you find a work-around to support firefox as well?

I took great pains to support Firefox, mostly in my service worker.

Unfortunately when it comes to mounting drives for faster local development, there's nothing I can do until FF supports `showDirectoryPicker`

However, you could just load up a local file server in your local directory (python -m http.server 8080) and import your file directly:

  import 'http://localhost:8080/index.js'
Then put that one line of code inside usr/myapp.app.js and click it in filer[1]

You'll have to use filer to create the file and edit it by right-clicking, then type it in and ctrl-s to save or use the top-left menu button.

I'll add all of this to the website under some "Using Firefox" page or something, for people who can't stand Chrome.

[1] https://90s.dev/os/#sys/apps/filer.app.js@usr/

I'm in actually in Chrome. I get the following error when running 90s.dev on that getting started page:

process.ts:159 SecurityError: Failed to execute 'showDirectoryPicker' on 'Window': Cross origin sub frames aren't allowed to show a file picker. at askdir (process.ts:154:37) at port.onmessage (rpc.ts:103:10) askdir @ process.ts:159 await in askdir port.onmessage @ rpc.ts:103 filer.app.js:129 Failed to get folder: error, cancelled, or using Firefox.

That's a new error, and it's because I changed some internals[1]. For now, you'll have to open the link[2] in a new tab and do the steps there.

[1] For about a week (and at the time of posting) the app was on 90s.dev/os/ to avoid this exact CORS error. But I got tired of how it forced me to name my github repos or pay for my own server, so I moved it back to os.90s.dev, which has the one downside of the error you ran into.

[2] https://os.90s.dev/#sys/apps/filer.app.js