I have found a workaround: use relative paths to a folder with the desired images, then your exe will search for that folder relative to itself. I suggest using: path="./Folder/image.jpg" and you just put a folder with your images next to your exe.