Skip to content

Commit

Permalink
Enable content protection
Browse files Browse the repository at this point in the history
  • Loading branch information
PurpleHorrorRus committed Dec 20, 2020
1 parent 40491f4 commit 7317f60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/mainWindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const open = () => {
window.showInactive();
window.removeMenu();
window.setIgnoreMouseEvents(true);
// window.setContentProtection(true);
window.setContentProtection(true);
window.setVisibleOnAllWorkspaces(true);
window.setAlwaysOnTop(true, "screen-saver");
window.moveTop();
Expand Down Expand Up @@ -105,7 +105,7 @@ const open = () => {
autoUpdater.on("update-available", info => send("update-available", info));
autoUpdater.checkForUpdates();
});

ipcMain.answerRenderer("config", () => config);

ipcMain.on("saveSettings", (_, args) =>
Expand Down

0 comments on commit 7317f60

Please sign in to comment.