mirror of
https://github.com/MasterAcnolo/Freedom-Loader.git
synced 2026-07-29 18:25:47 +02:00
Feat: Add dynamic icon path for main window based on local mode
This commit is contained in:
@@ -12,8 +12,13 @@ async function createMainWindow() {
|
||||
return mainWindow;
|
||||
}
|
||||
|
||||
const iconPath = config.localMode
|
||||
? path.join(__dirname, "../build/app-icon.ico")
|
||||
: path.join(process.resourcesPath, "build/app-icon.ico");
|
||||
|
||||
const windowOptions = {
|
||||
title: `Freedom Loader ${config.version}`,
|
||||
icon: iconPath,
|
||||
width: 750,
|
||||
height: 800,
|
||||
minWidth: 750,
|
||||
|
||||
Reference in New Issue
Block a user