This repository contains a sample app that demonstrates some basic points and flows that are relevant when developing Overwolf apps:
- The app will launch automatically when Fornite starts
- Register to the overwolf.games.events API in order to receive real time events from the game.
- Define a custom hotkey to be used in-game
- Based on official OW sample-app https://github.com/overwolf/sample-app
Yarn plz.
Each windows is a standalone vue project that build itself in the native
folder that is reserved for :
- Shared assets such as
css
andimg
- Overwolf's required files such as
manifest.json
You have to build and run it through Overwolf to test, otherwise overwolf's api is not available and assets loading path is wrong (see improvements list below).
Launch install.sh
script
Launch build-all.sh
script to build all, or yarn build
into the windows project you want to build.
Under Overwolf's settings, choose Support tab and then Development options. Click the Load unpacked button and choose the native folder of this repository.
There is many things to improve :
- Code duplication for headerbar, can be a vue library
yarn serve
cannot be used without using.env
files to load css and img from apublic/(css||img)
folder that is a symbolic link tonative/(css||img)
. Without that, design is broken due toimg
andcss
shared folder not loading. We should load asset using an env variable for base path.- Probably more things because I'm not perfect.