diff --git a/README.md b/README.md index a0181cd..c4ca1b5 100644 --- a/README.md +++ b/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 diff --git a/src/renderer/renderer.js b/src/renderer/renderer.js index 0211528..4e30675 100644 --- a/src/renderer/renderer.js +++ b/src/renderer/renderer.js @@ -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 () => {