lbry-desktop/src/renderer/util/setProgressBar.js

11 lines
217 B
JavaScript
Raw Normal View History

const { remote } = require("electron");
2017-12-13 22:36:30 +01:00
const application = remote.app;
const win = remote.getCurrentWindow();
const setProgressBar = progress => {
win.setProgressBar(progress);
};
export default setProgressBar;