After reading demonpants’ post, I worked overnight to make mac and linux-compatible versions of my game! Fortunately it wasn’t so hard to find out what bug was crashing the game in those systems and now it should run with no problems. Sorry to keep you waiting!
These versions also try to correct the white flash bug, but I still found no solution for that. The game now flashes purple instead of white, which is less hard on the eyes, but still is an undesirable effect.
Thanks for reading and have fun!