Skip to content

Commit 2f2ef6e

Browse files
fix: use Mayros favicon.ico for installer and desktop shortcuts
Copy favicon.ico from portal as installer icon. NSIS uses it for: - Installer window icon (MUI_ICON) - Uninstaller icon (MUI_UNICON) - Start Menu shortcut icon - Desktop shortcut icon Replaces the default green NSIS icon with Mayros branding.
1 parent e34db80 commit 2f2ef6e

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

installer/assets/mayros.ico

94.3 KB
Binary file not shown.

installer/windows/mayros-setup.nsi

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
!include "WordFunc.nsh"
1818
!include "WinMessages.nsh"
1919

20+
!define MUI_ICON "${ASSETS_DIR}\mayros.ico"
21+
!define MUI_UNICON "${ASSETS_DIR}\mayros.ico"
2022
!define MUI_ABORTWARNING
2123
!define MUI_WELCOMEPAGE_TITLE "Welcome to Mayros ${MAYROS_VERSION}"
2224
!define MUI_WELCOMEPAGE_TEXT "Mayros is an open-source AI agent framework.$\r$\n$\r$\nThis installer will set up:$\r$\n - Node.js ${NODE_VERSION} (portable)$\r$\n - AIngle Cortex ${CORTEX_VERSION} (semantic memory)$\r$\n - Mayros CLI and Gateway$\r$\n$\r$\nClick Next to continue."
@@ -62,10 +64,11 @@ Section "Mayros" SecMain
6264
SetOutPath "$INSTDIR\bin"
6365
File "${STAGING_DIR}\bin\aingle-cortex.exe"
6466

65-
; --- Scripts (npm creates mayros.cmd automatically) ---
67+
; --- Scripts + icon ---
6668
SetOutPath "$INSTDIR"
6769
File "${STAGING_DIR}\install-mayros.cmd"
6870
File "${STAGING_DIR}\LICENSE"
71+
File "${ASSETS_DIR}\mayros.ico"
6972

7073
SetOutPath "$INSTDIR\bin"
7174
File "${STAGING_DIR}\bin\open-portal.cmd"
@@ -104,7 +107,7 @@ Section "Mayros" SecMain
104107
CreateShortcut "$SMPROGRAMS\Mayros\Mayros Dashboard.lnk" \
105108
"$INSTDIR\node\node.exe" \
106109
'"$INSTDIR\bin\open-portal.cmd"' \
107-
"" "" "" "" "Open Mayros Control Dashboard"
110+
"$INSTDIR\mayros.ico" 0 "" "" "Open Mayros Control Dashboard"
108111
CreateShortcut "$SMPROGRAMS\Mayros\Uninstall Mayros.lnk" "$INSTDIR\uninstall.exe"
109112

110113
; --- Uninstaller ---
@@ -153,5 +156,5 @@ Function CreateDesktopShortcut
153156
CreateShortcut "$DESKTOP\Mayros Dashboard.lnk" \
154157
"$INSTDIR\node\node.exe" \
155158
'"$INSTDIR\bin\open-portal.cmd"' \
156-
"" "" "" "" "Open Mayros Control Dashboard"
159+
"$INSTDIR\mayros.ico" 0 "" "" "Open Mayros Control Dashboard"
157160
FunctionEnd

0 commit comments

Comments
 (0)