Adds: icon for browser window and electron build

This commit is contained in:
sauravniraula 2025-05-12 02:05:58 +05:45
parent aa9fe02910
commit 1c414d3123
No known key found for this signature in database
GPG key ID: 60FCC1B5A5E83326
3 changed files with 5 additions and 8 deletions

View file

@ -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,
});
};

View file

@ -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",
},
}

View file

@ -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": {