Skip to content

how can i make progress bar please help #161

@Meguais

Description

@Meguais

i cant make progress bar how can i make progressbar
can you show me
thank you

ipcMain.handle("downloadUpdate", (event, info) => {
  info.properties.onProgress = function(progress) {
      console.log('hi');
  }
  download(BrowserWindow.getFocusedWindow(), info.url, info.properties)
  .then(dl => event.sender.send("updateDownloadCompleted", dl.getSavePath()));

});

 ipcRenderer.invoke("downloadUpdate", {
  url: "http://ipv4.download.thinkbroadband.com/5MB.zip",
    properties: {
      openFolderWhenDone:true,
      showBadge:false,
      filename: 'test.zip',
      }
    });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions