From 572b6481684a2c5945a0e1a8a7c72400e6d479af Mon Sep 17 00:00:00 2001 From: LawnCable Date: Wed, 20 Jun 2018 15:55:04 +0200 Subject: Tried to change Icon --- src/main.ts | 5 +++-- src/main/manaplus/manaplus.ts | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'src') 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) diff --git a/src/main/manaplus/manaplus.ts b/src/main/manaplus/manaplus.ts index 190febe..5396649 100644 --- a/src/main/manaplus/manaplus.ts +++ b/src/main/manaplus/manaplus.ts @@ -1,5 +1,5 @@ -import { ManaPlusApp } from './ManaApp/manaApp.interface'; -import { ManaPlusAppWindows } from './ManaApp/windows'; +import { ManaPlusApp } from './manaApp/manaApp.interface'; +import { ManaPlusAppWindows } from './manaApp/windows'; import * as os from 'os'; import * as path from 'path'; import * as fs from 'fs-extra'; -- cgit v1.2.3-70-g09d2