1j01 / 98

💿 Web-based Windows 98 desktop recreation █████▓█▓▓▒▓▒▒░▒░░░🗕︎🗗︎🗙︎
https://98.js.org
1.15k stars 183 forks source link

make_http_index file not found, clears filesystem-index.json #91

Closed ishaan-sangwan closed 3 months ago

ishaan-sangwan commented 3 months ago

when running npm start make-fs-index command in package.json is run

"make-fs-index": "make_http_index | json > filesystem-index.json"

but there is not make_http_index shell file thus return nothing which deletes the content in filesystem-index.json making the file system crash image

1j01 commented 3 months ago

This script currently assumes browserfs@2.0.0 is installed globally. npm i -g browserfs@2.0.0

I noted this here, but it's not very discoverable as a note: https://github.com/1j01/98/blob/361bd759a6d9b71d0fad9e479840598dc0128bb6/package.json#L55-L58

I'm sure this situation will be improved when overhauling the filesystem, needed to fix other problems with it.