Developing Overwolf Apps on Mac or Linux Platforms
Java script and Typescript are supported on many platforms and you can setup your development environment on any Windows, Mac, or Linux based operating system. In order to thoroughly test your app, you will need to run a virtual machine (VM) with Windows, to ensure that your application runs correctly in a native Windows environment. Using a VM enables you to simulate app scenarios such as in-game overlays, hotkey handling, and injection behavior.
The Overwolf client and Overwolf native apps will only run on Windows based systems.
All Overwolf Native apps will need to follow the same onboarding procedure regardless of the operating system they were developed on. For more information, see the onboarding journey.
Prerequisites
- Development tools—use your favorite development tools or an IDE (e.g., VSCode) to write and manage your JavaScript or TypeScript files. You may not be able to use the built in debugging tools for Overwolf native apps developed on non-Windows based operating systems.
- Virtual Machine software for running Windows—essential to simulate a native Windows environment, especially for testing Overwolf specific functionality such as game overlays, game events, and hotkeys. In order to ensure compatability, you will need GPU passthrough to mimic actual in-game behavior. (e.g., VM with GPU passthrough - QEMU/KVM, with GPU passthrough).
- Windows OS ISO image—a valid ISO file to install Windows on the virtual machine which serves as your runtime environment for testing and validating your app.
Setting up the dev environment
- Install your development tool. Overwolf recommends that you use VSCode.
- Install your virtual machine software. Then, create a VM and install Windows, and setup the GPU passthrough.
- Setup your development environment on your non-windows operating system. Install the Overwolf type definition file in your VSCode.
Developing your app
To start developing your app, you can follow the procedures for creating a basic one window app or use the instructions in the basic sample app.
Running and testing your app
In order to test your app you will need to run it in the Windows VM that you installed. Ensure that your VM has internet connectivity in order to test the full functionality of your app. For more information, see testing practices.