Adds: icon for browser window and electron build
This commit is contained in:
parent
aa9fe02910
commit
1c414d3123
3 changed files with 5 additions and 8 deletions
|
|
@ -13,12 +13,13 @@ var nextjsProcess: ChildProcessByStdio<any, any, any> | undefined;
|
|||
|
||||
const createWindow = () => {
|
||||
win = new BrowserWindow({
|
||||
width: 1280,
|
||||
height: 720,
|
||||
icon: path.join(baseDir, "resources/ui/assets/images/presenton_short_filled.png"),
|
||||
webPreferences: {
|
||||
webSecurity: false,
|
||||
preload: path.join(__dirname, 'preload.js'),
|
||||
},
|
||||
width: 1280,
|
||||
height: 720,
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
6
build.js
6
build.js
|
|
@ -13,11 +13,7 @@ const config = {
|
|||
],
|
||||
linux: {
|
||||
target: ["AppImage"],
|
||||
desktop: {
|
||||
Name: "Presenton",
|
||||
Icon: "resources/ui/assets/images/presenton_short_filled.png",
|
||||
Categories: ["Utility"],
|
||||
},
|
||||
icon: "resources/ui/assets/images/presenton_short_filled.png",
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "presenton",
|
||||
"main": "app_dist/main.js",
|
||||
"version": "0.0.0",
|
||||
"version": "0.0.1",
|
||||
"description": "Presenton Open Source",
|
||||
"homepage": "https://presenton.ai",
|
||||
"author": {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue