9 lines
216 B
JavaScript
9 lines
216 B
JavaScript
const { remote } = require("electron");
|
|
const application = remote.app;
|
|
const win = remote.getCurrentWindow();
|
|
|
|
const setProgressBar = progress => {
|
|
win.setProgressBar(progress);
|
|
};
|
|
|
|
export default setProgressBar;
|