lbry-desktop/ui/js/util/setProgressBar.js

9 lines
230 B
JavaScript

const { remote } = require("electron");
const application = remote.app;
const win = remote.BrowserWindow.getFocusedWindow();
const setProgressBar = progress => {
win.setProgressBar(progress);
};
export default setProgressBar;