Error: File Not Found for image, but other images load fine


I am using electron-packager and the asar option. All my img hrefs are as “img/theimageiwant.png” or .svg.

All the .svg images work just fine but the PNG says error file not found.

If I do not use asar option, the image works fine.