mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-25 22:46:04 +03:00
parent
99d674c346
commit
56a907128a
1 changed files with 8 additions and 0 deletions
|
@ -512,7 +512,9 @@ SectionGroup $SectionGroup_Shortcuts
|
||||||
SetDetailsPrint textonly
|
SetDetailsPrint textonly
|
||||||
DetailPrint $OPTION_SECTION_SC_DESKTOP_DetailPrint
|
DetailPrint $OPTION_SECTION_SC_DESKTOP_DetailPrint
|
||||||
SetDetailsPrint listonly
|
SetDetailsPrint listonly
|
||||||
|
SetShellVarContext all
|
||||||
CreateShortCut "$DESKTOP\${APPLICATION_NAME}.lnk" "$INSTDIR\${APPLICATION_EXECUTABLE}"
|
CreateShortCut "$DESKTOP\${APPLICATION_NAME}.lnk" "$INSTDIR\${APPLICATION_EXECUTABLE}"
|
||||||
|
SetShellVarContext current
|
||||||
${MementoSectionEnd}
|
${MementoSectionEnd}
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
|
@ -521,8 +523,10 @@ SectionGroup $SectionGroup_Shortcuts
|
||||||
SectionIn 1 2
|
SectionIn 1 2
|
||||||
SetDetailsPrint textonly
|
SetDetailsPrint textonly
|
||||||
DetailPrint $OPTION_SECTION_SC_QUICK_LAUNCH_DetailPrint
|
DetailPrint $OPTION_SECTION_SC_QUICK_LAUNCH_DetailPrint
|
||||||
|
SetShellVarContext all
|
||||||
SetDetailsPrint listonly
|
SetDetailsPrint listonly
|
||||||
CreateShortCut "$QUICKLAUNCH\${APPLICATION_NAME}.lnk" "$INSTDIR\${APPLICATION_EXECUTABLE}"
|
CreateShortCut "$QUICKLAUNCH\${APPLICATION_NAME}.lnk" "$INSTDIR\${APPLICATION_EXECUTABLE}"
|
||||||
|
SetShellVarContext current
|
||||||
${MementoSectionEnd}
|
${MementoSectionEnd}
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
|
@ -672,18 +676,22 @@ Section Uninstall
|
||||||
;Desktop shortcut.
|
;Desktop shortcut.
|
||||||
!ifdef OPTION_SECTION_SC_DESKTOP
|
!ifdef OPTION_SECTION_SC_DESKTOP
|
||||||
${If} ${HasSection} SEC_DESKTOP
|
${If} ${HasSection} SEC_DESKTOP
|
||||||
|
SetShellVarContext all
|
||||||
${If} ${FileExists} "$DESKTOP\${APPLICATION_NAME}.lnk"
|
${If} ${FileExists} "$DESKTOP\${APPLICATION_NAME}.lnk"
|
||||||
Delete "$DESKTOP\${APPLICATION_NAME}.lnk"
|
Delete "$DESKTOP\${APPLICATION_NAME}.lnk"
|
||||||
${EndIf}
|
${EndIf}
|
||||||
|
SetShellVarContext current
|
||||||
${EndIf}
|
${EndIf}
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
;Quick Launch shortcut.
|
;Quick Launch shortcut.
|
||||||
!ifdef OPTION_SECTION_SC_QUICK_LAUNCH
|
!ifdef OPTION_SECTION_SC_QUICK_LAUNCH
|
||||||
${If} ${HasSection} SEC_QUICK_LAUNCH
|
${If} ${HasSection} SEC_QUICK_LAUNCH
|
||||||
|
SetShellVarContext all
|
||||||
${If} ${FileExists} "$QUICKLAUNCH\${APPLICATION_NAME}.lnk"
|
${If} ${FileExists} "$QUICKLAUNCH\${APPLICATION_NAME}.lnk"
|
||||||
Delete "$QUICKLAUNCH\${APPLICATION_NAME}.lnk"
|
Delete "$QUICKLAUNCH\${APPLICATION_NAME}.lnk"
|
||||||
${EndIf}
|
${EndIf}
|
||||||
|
SetShellVarContext current
|
||||||
${EndIf}
|
${EndIf}
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue