mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-02-02 10:27:15 +01:00
NSIS installer now allows to only install plugins user needs
This commit is contained in:
parent
18fcd78927
commit
8a29f3f566
@ -9,3 +9,10 @@
|
||||
!define MUI_UNICON "@CMAKE_SOURCE_DIR@\resources\graphics\@CMAKE_PROJECT_NAME@.ico"
|
||||
!define PATCH "0"
|
||||
!define BINARY_TREE "@CMAKE_BINARY_DIR@\app"
|
||||
|
||||
!define PLUGIN_FEEDLY "@CMAKE_BINARY_DIR@\app\plugins\rssguard-feedly.*"
|
||||
!define PLUGIN_GMAIL "@CMAKE_BINARY_DIR@\app\plugins\rssguard-gmail.*"
|
||||
!define PLUGIN_GREADER "@CMAKE_BINARY_DIR@\app\plugins\rssguard-greader.*"
|
||||
!define PLUGIN_NEXTCLOUD "@CMAKE_BINARY_DIR@\app\plugins\rssguard-nextcloud.*"
|
||||
!define PLUGIN_STANDARD "@CMAKE_BINARY_DIR@\app\plugins\rssguard-standard.*"
|
||||
!define PLUGIN_TTRSS "@CMAKE_BINARY_DIR@\app\plugins\rssguard-ttrss.*"
|
@ -126,7 +126,7 @@ NotInstalled:
|
||||
SetOutPath "$INSTDIR"
|
||||
|
||||
; Install core application files.
|
||||
File /r "${BINARY_TREE}\"
|
||||
File /r /x "rssguard-*.*" "${BINARY_TREE}\"
|
||||
|
||||
; Create uninstaller.
|
||||
WriteUninstaller "$INSTDIR\Uninstall.exe"
|
||||
@ -143,6 +143,39 @@ NotInstalled:
|
||||
ExecShell "open" "https://rssguard.readthedocs.io/en/stable/downloads.html#windows"
|
||||
SectionEnd
|
||||
|
||||
SectionGroup /e "Plugins"
|
||||
Section "Feedly" PluginFeedly
|
||||
SetOutPath "$INSTDIR\plugins"
|
||||
File "${PLUGIN_FEEDLY}"
|
||||
SectionEnd
|
||||
|
||||
Section "Gmail" PluginGmail
|
||||
SetOutPath "$INSTDIR\plugins"
|
||||
File "${PLUGIN_GMAIL}"
|
||||
SectionEnd
|
||||
|
||||
Section "Google Reader API" PluginGreader
|
||||
SetOutPath "$INSTDIR\plugins"
|
||||
File "${PLUGIN_GREADER}"
|
||||
SectionEnd
|
||||
|
||||
Section "Nextcloud News" PluginNextcloud
|
||||
SetOutPath "$INSTDIR\plugins"
|
||||
File "${PLUGIN_NEXTCLOUD}"
|
||||
SectionEnd
|
||||
|
||||
Section "RSS/ATOM/JSON" PluginStandard
|
||||
SectionIn RO
|
||||
SetOutPath "$INSTDIR\plugins"
|
||||
File "${PLUGIN_STANDARD}"
|
||||
SectionEnd
|
||||
|
||||
Section "Tiny Tiny RSS" PluginTtrss
|
||||
SetOutPath "$INSTDIR\plugins"
|
||||
File "${PLUGIN_TTRSS}"
|
||||
SectionEnd
|
||||
SectionGroupEnd
|
||||
|
||||
Section "Desktop Icon" DesktopIcon
|
||||
CreateShortCut "$DESKTOP\${APP_NAME}.lnk" "$INSTDIR\${EXE_NAME}"
|
||||
SectionEnd
|
||||
|
Loading…
x
Reference in New Issue
Block a user