Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
6.17
Browse files Browse the repository at this point in the history
  • Loading branch information
reycn committed Jun 16, 2019
1 parent 071679f commit 0f480d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function createWindow() {
webPreferences: { nodeIntegration: true },
icon: iconPath,
titleBarStyle: "hiddenInset",
// backgroundColor: "#00000000",
// backgroundColor: "#FFFFFF",
transparent: true,
vibrancy: "light",
frame: false
Expand All @@ -140,7 +140,7 @@ function createWindow() {

// const electronVibrancy = require('windows10-fluently-vibrancy');
const ewc = require("ewc");
mainWindow.webContents.openDevTools({ mode: "detach" });
// mainWindow.webContents.openDevTools({ mode: "detach" });
// electronVibrancy.enableVibrancy(mainWindow, 2);
ewc.setAcrylic(mainWindow, 0x14800020);
mainWindow.on("close", e => {
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
"electron-builder": "^20.38.3"
},
"dependencies": {
"electron-debug": "^1.5.0"
"electron-debug": "^1.5.0",
"ewc": "^0.0.1"
}
}

0 comments on commit 0f480d2

Please sign in to comment.