mirror of
https://github.com/angryip/ipscan.git
synced 2025-10-26 11:18:17 +00:00
specify nsis version separately
This commit is contained in:
parent
f0439ebe71
commit
cdaf5f5069
@ -263,9 +263,10 @@ packageTask('mac') {
|
||||
|
||||
task 'win-installer'(dependsOn: ['win32', 'win64']) {
|
||||
doLast {
|
||||
def nsis = 'nsis-3.05'
|
||||
def nsisVersion = "3.05"
|
||||
def nsis = "nsis-$nsisVersion"
|
||||
def installerDir = 'ext/win-installer'
|
||||
ant.get(src: "https://netcologne.dl.sourceforge.net/project/nsis/NSIS%203/${nsis.split('-')[1]}/${nsis}.zip", dest: installerDir, skipexisting: 'true')
|
||||
ant.get(src: "https://netcologne.dl.sourceforge.net/project/nsis/NSIS%203/${nsisVersion}/${nsis}.zip", dest: installerDir, skipexisting: 'true')
|
||||
ant.unzip(src: "${installerDir}/${nsis}.zip", dest: installerDir)
|
||||
ant.replace(file: "${installerDir}/InstallerConfig.nsh") {
|
||||
ant.replacefilter(token: "VERSION_MINOR", value: "5")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user