I can not figure out hot to do this simple task in Electron.
I have an Export button, when I click on it, I call the “export” function.
In this export function, I’ve already had the “dataUrl” variable, which is base64 image of anything on canvas object.
How can I do this with Electron?
In normal web browsers, I just need to “window.location = dataUrl”, but in Electron, this doesn’t work.
Thank you very much