Skip to main content

Porting your Electron app to Overwolf

info

This page was written before ow-electron was developed. While still relevant, if you have an existing Electron app, it may be easier to integrate it with ow-electron instead!

In case you have an existing application on Electron, porting your app to Overwolf is very easy, and should take about a week of work for a single developer. This will allow you the best of both worlds while you maintain full control of your destiny. Like Electron, Overwolf is built on Chromium. While Electron is a generalized product - Overwolf is dedicated specifically for gaming apps.

Once you have a build on Overwolf, you’d be able to enjoy features like in-game overlay, real time telemetry, monetization, analytics, customized installer, auto updates, free CDN, marketing, signatures, and a lot more!

Our framework allows you to keep both versions live, with one code base and negligible live-ops overhead. At any given time, you can choose to deploy updates to Electron, Overwolf, or both. We did it ourselves to the CurseForge app, and we’re happy to explain how.

One code base for Electron and OW app

It is simple to maintain both Electron and Overwolf support for the app - basing it on the same codebase.

  • Core package/module with most of the app’s logic and UI
  • Thin package for Overwolf - uses core package.
  • Thin package for Electron - uses core package.
  • We can help build it for you! Reach out.

These are the recommended steps to keep both versions:

  • Electron browser process code → Overwolf background controller
  • Electron renderer process code → Overwolf Window
  • Communication layer (preload code → overwolf.window.getMainWindow)
  • Abstracting framework specific code (Electron/Overwolf) and injecting the relevant implementation (e.g. Electron APIs vs Overwolf APIs, node.js vs .net plugins)
    • Here we can help with converting to .net
  • Once you get the technical part cover we suggest communicating with your users how the two clients differ from each other: added features, reducing cost, overlay etc
  • Lastly, if you’re not happy with our service - you can always easily go back to being exclusively on Electron. If you choose to go just on Overwolf, you can go back at any given time to Electron.

If you have any questions, please reach out.