From 00c77c97d2a19905356de40f4609fea42c2fbb5f Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Tue, 29 Jun 2021 17:39:01 -0700 Subject: [PATCH] updated nsis installer script --- windows/nsis/cwtch-installer.nsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/windows/nsis/cwtch-installer.nsi b/windows/nsis/cwtch-installer.nsi index 25a6584..9169e70 100644 --- a/windows/nsis/cwtch-installer.nsi +++ b/windows/nsis/cwtch-installer.nsi @@ -27,14 +27,14 @@ InstallDirRegKey HKCU "Software\Cwtch" "installLocation" !define MUI_INSTALLCOLORS "DFB9DE 281831" ; 128x128, 32bit -!define MUI_ICON "..\windows\cwtch.ico" +!define MUI_ICON "../runner/resources/knot_128.ico" !define MUI_HEADERIMAGE -!define MUI_HEADERIMAGE_BITMAP "..\nsis\cwtch_title.bmp" +!define MUI_HEADERIMAGE_BITMAP "cwtch_title.bmp" !define MUI_TEXTCOLOR "350052" -!define MUI_WELCOMEFINISHPAGE_BITMAP "..\nsis\brand_side.bmp" +!define MUI_WELCOMEFINISHPAGE_BITMAP "brand_side.bmp" !define MUI_WELCOMEFINISHPAGE_BITMAP_STRETCH NoStretchNoCrop !define MUI_INSTFILESPAGE_COLORS "DFB9DE 281831" @@ -60,7 +60,7 @@ ShowInstDetails show !define MUI_FINISHPAGE_LINK_COLOR "D01972" !insertmacro MUI_PAGE_WELCOME -!insertmacro MUI_PAGE_LICENSE "../LICENSE" +!insertmacro MUI_PAGE_LICENSE "../../LICENSE" !insertmacro MUI_PAGE_DIRECTORY !insertmacro MUI_PAGE_INSTFILES !insertmacro MUI_PAGE_FINISH @@ -78,13 +78,13 @@ Section # define what to install and place it in the output path # Filler for .sh to populate with contents of deploy/windows #FILESLISTSTART - FILE /r "windows\" + FILE /r "../../build/windows/runner/Release/" #FILESLISTEND # create a shortcut in the start menu programs directory CreateDirectory "$SMPROGRAMS\Cwtch" - CreateShortcut "$SMPROGRAMS\Cwtch\Cwtch.lnk" "$INSTDIR\ui.exe" "" "$INSTDIR\cwtch.ico" + CreateShortcut "$SMPROGRAMS\Cwtch\Cwtch.lnk" "$INSTDIR\cwtch.exe" "" "$INSTDIR\cwtch.ico" ;Store installation folder WriteRegStr HKCU "Software\Cwtch" "installLocation" $INSTDIR