Excluding files from real-time scanning is impractical because it doesn’t function as intended. However, the method described below works effectively.
Here’s a temporary solution: Open McAfee, navigate to real-time scanning, and temporarily disable real-time scanning for, let’s say, 15 minutes, which is the shortest option. It will automatically resume afterward, but you can also manually turn it back on. After doing so, go to the quarantined items and restore the luajit-32.exe
file. Now you can use Defold until this method is no longer effective. You can easily repeat this workaround; it takes just two minutes. For me, this method works even after updating Defold and rebooting my PC.