mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
win installer: update installation options dialog to support single exe launcher with long name. The change needs for Rider.
This commit is contained in:
@@ -392,6 +392,16 @@ Function ConfirmDesktopShortcut
|
||||
${If} $R1 != ""
|
||||
!insertmacro INSTALLOPTIONS_WRITE "Desktop.ini" "Field $secondLauncherShortcut" "Type" "checkbox"
|
||||
!insertmacro INSTALLOPTIONS_WRITE "Desktop.ini" "Field $secondLauncherShortcut" "Text" $R1
|
||||
${Else}
|
||||
Push $R0
|
||||
Push $R1
|
||||
!insertmacro INSTALLOPTIONS_READ $R0 "Desktop.ini" "Field $secondLauncherShortcut" "Right"
|
||||
IntOp $R1 $R0 - 10
|
||||
!insertmacro INSTALLOPTIONS_WRITE "Desktop.ini" "Field $launcherShortcut" "Right" $R1
|
||||
IntOp $R1 $R0 - 5
|
||||
!insertmacro INSTALLOPTIONS_WRITE "Desktop.ini" "Field $secondLauncherShortcut" "Left" $R1
|
||||
Pop $R1
|
||||
Pop $R0
|
||||
${EndIf}
|
||||
|
||||
; if jre x86 for the build is available then add checkbox to Installation Options dialog
|
||||
|
||||
Reference in New Issue
Block a user