Check if the application is running from inside an asar package
github.com/RyoHina/electron-is-running-in-asar2
RyoHina/electron-is-running-in-asar2