2017-06-24 10:57:37 +02:00
|
|
|
const { remote } = require("electron");
|
2017-12-13 22:36:30 +01:00
|
|
|
|
2017-06-24 10:57:37 +02:00
|
|
|
const application = remote.app;
|
2017-07-03 08:54:03 +02:00
|
|
|
const win = remote.getCurrentWindow();
|
2017-06-24 10:57:37 +02:00
|
|
|
|
|
|
|
const setProgressBar = progress => {
|
|
|
|
win.setProgressBar(progress);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default setProgressBar;
|