Installation

pnpm i @overlayed/electron

Usage

Anytime you run the electron app, you’ll want to use ogg-electron instead of electron.

{
    "scripts": {
        "start": "ogg-electron ."
    }
}

You do NOT need to import anything from @overlayed/electron that you would normally import from electron. Continue to things like app and BrowserWindow as you normally would.