This repository was archived by the owner on Mar 6, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed
Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ function createUpdaterWindow() {
207207 alwaysOnTop : true ,
208208 skipTaskbar : false ,
209209 backgroundColor : '#1f2025' ,
210- icon : path . join ( __dirname , 'logo.png' ) ,
210+ icon : path . join ( __dirname , process . platform === 'darwin' ? 'app.icns' : 'logo.png' ) ,
211211 webPreferences : {
212212 nodeIntegration : false ,
213213 contextIsolation : true ,
Original file line number Diff line number Diff line change @@ -20,13 +20,14 @@ function createWindow() {
2020 // Allow platform override via environment variable for previewing different platforms
2121 const platform = process . env . PLATFORM_OVERRIDE || process . platform ;
2222 const isMac = platform === 'darwin' ;
23+ const iconPath = path . join ( __dirname , isMac ? 'app.icns' : 'logo.png' ) ;
2324
2425 // Configure window based on platform
2526 const windowOptions = {
2627 width : 1300 ,
2728 height : 800 ,
2829 autoHideMenuBar : true ,
29- icon : path . join ( __dirname , 'logo.png' ) ,
30+ icon : iconPath ,
3031 backgroundColor : '#1f2025' ,
3132 fullscreenable : true ,
3233 webPreferences : {
@@ -529,13 +530,14 @@ function createControlPanelWindow() {
529530 return ;
530531 }
531532
533+ const isMac = ( process . env . PLATFORM_OVERRIDE || process . platform ) === 'darwin' ;
532534 controlPanelWindow = new BrowserWindow ( {
533535 width : 500 ,
534536 height : 400 ,
535537 minWidth : 400 ,
536538 minHeight : 300 ,
537539 autoHideMenuBar : true ,
538- icon : path . join ( __dirname , 'logo.png' ) ,
540+ icon : path . join ( __dirname , isMac ? 'app.icns' : 'logo.png' ) ,
539541 backgroundColor : '#1f2025' ,
540542 webPreferences : {
541543 nodeIntegration : false ,
Original file line number Diff line number Diff line change 5656 ],
5757 "mac" : {
5858 "category" : " public.app-category.entertainment" ,
59- "icon" : " logo.png " ,
59+ "icon" : " app.icns " ,
6060 "target" : [
6161 " dmg" ,
6262 " zip"
You can’t perform that action at this time.
0 commit comments