summaryrefslogtreecommitdiff
path: root/src/main.ts
diff options
context:
space:
mode:
authorLawnCable <lawncable.tmw2@simonlaux.de>2018-06-20 15:55:04 +0200
committerLawnCable <lawncable.tmw2@simonlaux.de>2018-06-20 15:55:04 +0200
commit572b6481684a2c5945a0e1a8a7c72400e6d479af (patch)
tree47cccf55587c21a671f7fc16d5393285d7378589 /src/main.ts
parentc79ab9ac1a74c8ec9c225c10498591ebb3a2d2b9 (diff)
downloadelectron-572b6481684a2c5945a0e1a8a7c72400e6d479af.tar.gz
electron-572b6481684a2c5945a0e1a8a7c72400e6d479af.tar.bz2
electron-572b6481684a2c5945a0e1a8a7c72400e6d479af.tar.xz
electron-572b6481684a2c5945a0e1a8a7c72400e6d479af.zip
Tried to change Icon
Diffstat (limited to 'src/main.ts')
-rw-r--r--src/main.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.ts b/src/main.ts
index 9df2c55..5200d0b 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -21,7 +21,8 @@ const createWindow = () => {
height: 550,
minHeight: 475,
minWidth: 650,
- frame: false
+ frame: false,
+ icon: path.join(__dirname,"../assets/media/icon.ico")
});
// and load the index.html of the app.
@@ -90,7 +91,7 @@ let appIcon:Tray = null;
EventEmitter.on('openTray',()=>{
if(!appIcon){
- const iconName = "../assets/media/screenshot.png";
+ const iconName = "../assets/media/plushmouboo.png";
const iconPath = path.join(__dirname, iconName)
appIcon = new Tray(iconPath)