summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Readme.md1
-rw-r--r--assets/media/icon.icobin0 -> 54413 bytes
-rw-r--r--assets/media/plushmouboo.pngbin0 -> 9809 bytes
-rw-r--r--package.json2
-rw-r--r--src/main.ts5
-rw-r--r--src/main/manaplus/manaplus.ts4
6 files changed, 7 insertions, 5 deletions
diff --git a/Readme.md b/Readme.md
index 4d434ab..9862c48 100644
--- a/Readme.md
+++ b/Readme.md
@@ -53,3 +53,4 @@ npm start
## Notes / command reference:
`electron-packager <sourcedir> <appname> --platform=<platform> --arch=<arch> [optional flags...]`
+this for icon?:``--icon=src/assets/images/icon.ico`
diff --git a/assets/media/icon.ico b/assets/media/icon.ico
new file mode 100644
index 0000000..afa69ed
--- /dev/null
+++ b/assets/media/icon.ico
Binary files differ
diff --git a/assets/media/plushmouboo.png b/assets/media/plushmouboo.png
new file mode 100644
index 0000000..b2ae589
--- /dev/null
+++ b/assets/media/plushmouboo.png
Binary files differ
diff --git a/package.json b/package.json
index f8ac987..b66919c 100644
--- a/package.json
+++ b/package.json
@@ -8,7 +8,7 @@
"test": "echo \"Error: no test specified\" && exit 1",
"build": "tsc",
"start": "npm run build && electron .",
- "package": "npm run build && electron-packager . LawnCablesManaLauncher --arch=x64 --out=./out --overwrite --ignore=mana-launcher/src "
+ "package": "npm run build && electron-packager . LawnCablesManaLauncher --arch=x64 --out=./out --overwrite --ignore=mana-launcher/src --icon=assets/media/icon.ico"
},
"author": "LawnCable",
"license": "GNU GPLv3",
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';