Skip to content

Commit

Permalink
Fixing windows shortcut.
Browse files Browse the repository at this point in the history
  • Loading branch information
PerryWerneck committed Apr 25, 2023
1 parent 17e9537 commit 307dd5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions win/pw3270.nsi.in
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@ SubSection "@PRODUCT_NAME@" SecMain
# define the output path for this file
SetShellVarContext all

createShortCut "$SMPROGRAMS\@PRODUCT_NAME@.lnk" "$INSTDIR\bin\@PRODUCT_NAME@.exe"
createShortCut "$DESKTOP\@PRODUCT_NAME@.lnk" "$INSTDIR\bin\@PRODUCT_NAME@.exe"

# Binary files
setOutPath "$INSTDIR"
file /r "bin"
Expand Down Expand Up @@ -185,6 +182,9 @@ SubSection "@PRODUCT_NAME@" SecMain
WriteRegStr HKLM "Software\@PRODUCT_NAME@" "font-family" "Lucida Console"
WriteRegStr HKLM "Software\@PRODUCT_NAME@" "colors" "rgb(24,24,24);rgb(79,156,254);rgb(237,74,70);rgb(235,110,183);rgb(131,199,70);rgb(86,216,201);rgb(239,197,65);rgb(222,222,222);rgb(59,59,59);rgb(54,142,171);rgb(250,145,83);rgb(165,128,226);rgb(112,180,51);rgb(65,199,185);rgb(219,179,45);rgb(119,119,119);rgb(131,199,70);rgb(237,74,70);rgb(65,199,185);rgb(250,145,83);rgb(37,37,37);rgb(222,222,222);rgb(222,222,222);rgb(24,24,24);rgb(222,222,222);rgb(79,156,254);rgb(131,199,70);rgb(239,197,65);rgb(239,197,65)"

createShortCut "$SMPROGRAMS\@PRODUCT_NAME@.lnk" "$INSTDIR\bin\@PRODUCT_NAME@.exe" "" "$INSTDIR\bin\@PRODUCT_NAME@.ico"
createShortCut "$DESKTOP\@PRODUCT_NAME@.lnk" "$INSTDIR\bin\@PRODUCT_NAME@.exe" "" "$INSTDIR\bin\@PRODUCT_NAME@.ico"

sectionEnd

!ifdef WITHSDK
Expand Down

0 comments on commit 307dd5c

Please sign in to comment.