lbry-desktop/src/renderer/util/setProgressBar.js
2017-12-13 18:36:30 -03:00

10 lines
217 B
JavaScript

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