mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 07:28:39 +00:00
Start dependency sections
This commit is contained in:
parent
0a51fc0c15
commit
c4dd6a99dd
1 changed files with 23 additions and 5 deletions
|
@ -13,7 +13,11 @@
|
||||||
OutFile "deluge.exe"
|
OutFile "deluge.exe"
|
||||||
|
|
||||||
; Default install dir
|
; Default install dir
|
||||||
InstallDir "$PROGRAMFILES\Deluge"
|
InstallDir "$PROGRAMFILES"
|
||||||
|
|
||||||
|
; Dependencies
|
||||||
|
|
||||||
|
!define LIBTORRENT
|
||||||
|
|
||||||
; Interface Settings
|
; Interface Settings
|
||||||
|
|
||||||
|
@ -43,18 +47,32 @@
|
||||||
|
|
||||||
; Installer Sections
|
; Installer Sections
|
||||||
|
|
||||||
Section "Deluge" deluge
|
Section "Deluge Core" deluge
|
||||||
|
|
||||||
SectionIn RO
|
SectionIn RO
|
||||||
|
|
||||||
SetOutPath "$INSTDIR"
|
SetOutPath "$INSTDIR\Deluge"
|
||||||
|
|
||||||
file "..\README"
|
|
||||||
|
|
||||||
WriteUninstaller "$INSTDIR\uninstall.exe"
|
WriteUninstaller "$INSTDIR\uninstall.exe"
|
||||||
|
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
|
SubSection /e "Dependencies" deps
|
||||||
|
|
||||||
|
Section "Libtorrent" libtorrent
|
||||||
|
|
||||||
|
SectionIn 1
|
||||||
|
|
||||||
|
; Download MSI
|
||||||
|
NSIS:dl download ${LIBTORRENT_URL} "$TEMP\${LIBTORRENT}"
|
||||||
|
|
||||||
|
; Install MSI
|
||||||
|
delete "$TEMP\${LIBTORRENT}"
|
||||||
|
|
||||||
|
SectionEnd
|
||||||
|
|
||||||
|
SubSectionEnd
|
||||||
|
|
||||||
; Descriptions
|
; Descriptions
|
||||||
|
|
||||||
; Language strings
|
; Language strings
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue