update install scripts

This commit is contained in:
Roy Qu 2022-02-25 12:06:04 +08:00
parent 2084990491
commit bc44f54788
5 changed files with 18 additions and 0 deletions

View File

@ -10,3 +10,13 @@ SOURCES += \
RC_FILE += \ RC_FILE += \
redpanda-git-askpass_private.rc redpanda-git-askpass_private.rc
resource.rc resource.rc
isEmpty(PREFIX) {
PREFIX = /usr/local
}
win32: {
!isEmpty(PREFIX) {
target.path = $${PREFIX}
}
}

View File

@ -87,6 +87,7 @@ Section "$(SectionMainName)" SectionMain
; Write required files ; Write required files
File "RedPandaIDE.exe" File "RedPandaIDE.exe"
File "ConsolePauser.exe" File "ConsolePauser.exe"
File "redpanda-win-git-askpass.exe"
File "astyle.exe" File "astyle.exe"
File "LICENSE" File "LICENSE"
File "NEWS.md" File "NEWS.md"
@ -450,6 +451,7 @@ Section "Uninstall"
Delete "$INSTDIR\NEWS.md" Delete "$INSTDIR\NEWS.md"
Delete "$INSTDIR\RedPandaIDE.exe" Delete "$INSTDIR\RedPandaIDE.exe"
Delete "$INSTDIR\ConsolePauser.exe" Delete "$INSTDIR\ConsolePauser.exe"
Delete "$INSTDIR\redpanda-win-git-askpass.exe"
Delete "$INSTDIR\astyle.exe" Delete "$INSTDIR\astyle.exe"
Delete "$INSTDIR\LICENSE" Delete "$INSTDIR\LICENSE"
Delete "$INSTDIR\README.md" Delete "$INSTDIR\README.md"

View File

@ -88,6 +88,7 @@ Section "$(SectionMainName)" SectionMain
; Write required files ; Write required files
File "RedPandaIDE.exe" File "RedPandaIDE.exe"
File "ConsolePauser.exe" File "ConsolePauser.exe"
File "redpanda-win-git-askpass.exe"
File "astyle.exe" File "astyle.exe"
File "LICENSE" File "LICENSE"
File "NEWS.md" File "NEWS.md"
@ -457,6 +458,7 @@ Section "Uninstall"
Delete "$INSTDIR\NEWS.md" Delete "$INSTDIR\NEWS.md"
Delete "$INSTDIR\RedPandaIDE.exe" Delete "$INSTDIR\RedPandaIDE.exe"
Delete "$INSTDIR\ConsolePauser.exe" Delete "$INSTDIR\ConsolePauser.exe"
Delete "$INSTDIR\redpanda-win-git-askpass.exe"
Delete "$INSTDIR\astyle.exe" Delete "$INSTDIR\astyle.exe"
Delete "$INSTDIR\LICENSE" Delete "$INSTDIR\LICENSE"
Delete "$INSTDIR\README.md" Delete "$INSTDIR\README.md"

View File

@ -87,6 +87,7 @@ Section "$(SectionMainName)" SectionMain
; Write required files ; Write required files
File "RedPandaIDE.exe" File "RedPandaIDE.exe"
File "ConsolePauser.exe" File "ConsolePauser.exe"
File "redpanda-win-git-askpass.exe"
File "astyle.exe" File "astyle.exe"
File "LICENSE" File "LICENSE"
File "NEWS.md" File "NEWS.md"
@ -450,6 +451,7 @@ Section "Uninstall"
Delete "$INSTDIR\NEWS.md" Delete "$INSTDIR\NEWS.md"
Delete "$INSTDIR\RedPandaIDE.exe" Delete "$INSTDIR\RedPandaIDE.exe"
Delete "$INSTDIR\ConsolePauser.exe" Delete "$INSTDIR\ConsolePauser.exe"
Delete "$INSTDIR\redpanda-win-git-askpass.exe"
Delete "$INSTDIR\astyle.exe" Delete "$INSTDIR\astyle.exe"
Delete "$INSTDIR\LICENSE" Delete "$INSTDIR\LICENSE"
Delete "$INSTDIR\README.md" Delete "$INSTDIR\README.md"

View File

@ -88,6 +88,7 @@ Section "$(SectionMainName)" SectionMain
; Write required files ; Write required files
File "RedPandaIDE.exe" File "RedPandaIDE.exe"
File "ConsolePauser.exe" File "ConsolePauser.exe"
File "redpanda-win-git-askpass.exe"
File "astyle.exe" File "astyle.exe"
File "LICENSE" File "LICENSE"
File "NEWS.md" File "NEWS.md"
@ -459,6 +460,7 @@ Section "Uninstall"
Delete "$INSTDIR\NEWS.md" Delete "$INSTDIR\NEWS.md"
Delete "$INSTDIR\RedPandaIDE.exe" Delete "$INSTDIR\RedPandaIDE.exe"
Delete "$INSTDIR\ConsolePauser.exe" Delete "$INSTDIR\ConsolePauser.exe"
Delete "$INSTDIR\redpanda-win-git-askpass.exe"
Delete "$INSTDIR\astyle.exe" Delete "$INSTDIR\astyle.exe"
Delete "$INSTDIR\LICENSE" Delete "$INSTDIR\LICENSE"
Delete "$INSTDIR\README.md" Delete "$INSTDIR\README.md"