[Solved] Detect love.js
Posted: Wed Sep 13, 2023 12:33 pm
Does love.js provide some like an environment variable that says "this is running in love.js"? When building a C/C++ project with emsdk there is a define called __EMSCRIPTEN__, which is useful for when you need to do something slightly different in the web build. I'm wondering if there's something similar for love.js.