elektron simpan gambar gumpalan ke disk

const fs = require('fs')

async function saveBlobToFile(blob) {
  let fileData = new Int8Array(await blob.arrayBuffer());
  fs.writeFileSync("filepath.png", fileData);
}
Krushn