mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
makepackage: Don't write Sample Programs to start menu in Win 8/10
The start menu in newer versions of Windows doesn't show any hierarchy, making this utterly unreadable and useless.
This commit is contained in:
parent
78e23c018c
commit
8f9ca34eec
@ -677,6 +677,7 @@ Section "Sample programs" SecSamples
|
|||||||
CreateShortCut "$SMPROGRAMS\${TITLE}\Panda3D Website.lnk" "$INSTDIR\Website.url" "" "$INSTDIR\pandaIcon.ico" 0 "" "" "Panda3D Website"
|
CreateShortCut "$SMPROGRAMS\${TITLE}\Panda3D Website.lnk" "$INSTDIR\Website.url" "" "$INSTDIR\pandaIcon.ico" 0 "" "" "Panda3D Website"
|
||||||
CreateShortCut "$SMPROGRAMS\${TITLE}\Sample Program Manual.lnk" "$INSTDIR\Samples.url" "" "$INSTDIR\pandaIcon.ico" 0 "" "" "Sample Program Manual"
|
CreateShortCut "$SMPROGRAMS\${TITLE}\Sample Program Manual.lnk" "$INSTDIR\Samples.url" "" "$INSTDIR\pandaIcon.ico" 0 "" "" "Sample Program Manual"
|
||||||
|
|
||||||
|
${Unless} ${AtLeastWin8}
|
||||||
FindFirst $0 $1 $INSTDIR\samples\*
|
FindFirst $0 $1 $INSTDIR\samples\*
|
||||||
loop:
|
loop:
|
||||||
StrCmp $1 "" done
|
StrCmp $1 "" done
|
||||||
@ -708,6 +709,7 @@ Section "Sample programs" SecSamples
|
|||||||
FindNext $0 $1
|
FindNext $0 $1
|
||||||
Goto loop
|
Goto loop
|
||||||
done:
|
done:
|
||||||
|
${EndUnless}
|
||||||
SectionEnd
|
SectionEnd
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user