commit
9c1ba25119
15
README.md
15
README.md
|
@ -1,6 +1,17 @@
|
|||
# Windows95
|
||||
# windows95
|
||||
|
||||
This is Windows 95, running in an Electron app. Yes, it's the full thing. I'm sorry.
|
||||
This is Windows 95, running in an Electron app. Yes, it's the full thing. I'm sorry. [Download it here](https://github.com/felixrieseberg/windows95/releases).
|
||||
|
||||
![Screenshot](https://user-images.githubusercontent.com/1426799/44532591-4ceb3680-a6a8-11e8-8c2c-bc29f3bfdef7.png)
|
||||
|
||||
## Does it work?
|
||||
Yes! Quite well, actually.
|
||||
|
||||
## Should this have been a native app?
|
||||
Absolutely.
|
||||
|
||||
## How's the code?
|
||||
This only works well by accident and was mostly a joke. The code quality is accordingly.
|
||||
|
||||
## Credits
|
||||
|
||||
|
|
|
@ -35,6 +35,10 @@ async function main (id) {
|
|||
|
||||
// New v86 instance
|
||||
window.emulator = new V86Starter(opts)
|
||||
|
||||
//high-dpi support
|
||||
var scale = window.devicePixelRatio;
|
||||
window.emulator.screen_adapter.set_scale(scale,scale);
|
||||
|
||||
// Restore state. We can't do this right away.
|
||||
setTimeout(async () => {
|
||||
|
|
Loading…
Reference in a new issue