Skip to content

Commit

Permalink
Added display wake up
Browse files Browse the repository at this point in the history
  • Loading branch information
PatentLobster committed Aug 16, 2020
1 parent 10e8822 commit ed7647d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/background.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
'use strict';
/* global __static */
import {app, protocol, BrowserWindow, powerMonitor, Tray, Menu, Notification} from 'electron';
import {app, protocol, BrowserWindow, powerMonitor, Tray, Menu, Notification, powerSaveBlocker} from 'electron';
import {autoUpdater} from 'electron-updater';


const preventSleep = powerSaveBlocker.start('prevent-display-sleep');
const axios = require('axios');


Expand Down

0 comments on commit ed7647d

Please sign in to comment.