lbry-desktop/ui/util/set-progress-bar.js
2019-11-11 13:27:29 -05:00

16 lines
280 B
JavaScript

// @if TARGET='app'
import { remote } from 'electron';
const win = remote.getCurrentWindow();
const setProgressBar = progress => {
win.setProgressBar(progress);
};
// @endif
// @if TARGET='web'
const setProgressBar = progress => {};
// @endif
export default setProgressBar;