Re:I made a virtual operating system that runs in the browser
by justaguy1234 on Friday August 23, 2024 @11:25PM
(#41335308)
How does this work?
Re:I made a virtual operating system that runs in the browser
by M-Valentino on Friday August 23, 2024 @11:59PM
(#41335497)
When the OS starts up, it fetches all the source files and puts their content inside a huge JavaScript object the "hard disk". From that object, it will append the GUI script, kernel script, taskbar, and start menu to the DOM. The GUI script does most of the heavy lifting. The kernel script handles, creating, updating, and deleting of files and folders. Folders are really just nested objects inside the main hard disk object
This OS is still a work in progress. What do you guys think of it?