mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-01-09 06:41:07 +08:00
Merge 321c684d5cb9b41f489d0d9909980d74297db583 into cc0ce62e7ff283919c95c12a1c8e3b0887271690
This commit is contained in:
commit
49ed3e5e05
@ -179,19 +179,13 @@ Section "Base"
|
||||
|
||||
; Create start menu and desktop shortcuts
|
||||
; This needs to be done after Dolphin.exe is copied
|
||||
CreateDirectory "$SMPROGRAMS\${PRODUCT_NAME}"
|
||||
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\$DisplayName.lnk" "$INSTDIR\Dolphin.exe"
|
||||
CreateShortCut "$SMPROGRAMS\$DisplayName.lnk" "$INSTDIR\Dolphin.exe"
|
||||
CreateShortCut "$DESKTOP\$DisplayName.lnk" "$INSTDIR\Dolphin.exe"
|
||||
|
||||
; ??
|
||||
SetOutPath "$TEMP"
|
||||
SectionEnd
|
||||
|
||||
Section -AdditionalIcons
|
||||
; Create start menu shortcut for the uninstaller
|
||||
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Uninstall $DisplayName.lnk" "$INSTDIR\uninst.exe" "/$MultiUser.InstallMode"
|
||||
SectionEnd
|
||||
|
||||
!include "FileFunc.nsh"
|
||||
|
||||
Section -Post
|
||||
@ -216,11 +210,8 @@ SectionEnd
|
||||
Section Uninstall
|
||||
!insertmacro UPDATE_DISPLAYNAME
|
||||
|
||||
Delete "$SMPROGRAMS\${PRODUCT_NAME}\Uninstall $DisplayName.lnk"
|
||||
|
||||
Delete "$SMPROGRAMS\$DisplayName.lnk"
|
||||
Delete "$DESKTOP\$DisplayName.lnk"
|
||||
Delete "$SMPROGRAMS\${PRODUCT_NAME}\$DisplayName.lnk"
|
||||
RMDir "$SMPROGRAMS\${PRODUCT_NAME}"
|
||||
|
||||
; Be a bit careful to not delete files a user may have put into the install directory.
|
||||
Delete "$INSTDIR\*.dll"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user