restore icon.ico - it is needed for the uninstaller

This commit is contained in:
Anton Keks 2022-01-21 11:15:23 +02:00
parent 6ba22db6c2
commit a4358759a9

View File

@ -292,6 +292,7 @@ task 'win-installer'(dependsOn: 'win64') {
exec("jlink --output $jrePath --vm=client --compress=2 --no-header-files --no-man-pages --strip-debug --add-modules " + javaModules.join(","), installerDir)
ant.delete(dir: new File(jreDir, "legal"))
}
ant.copy(file: "resources/images/icon.ico", todir: "${installerDir}/AppFiles")
ant.copy(file: "LICENSE", tofile: "${installerDir}/AppFiles/license.txt")
ant.copy(file: "build/libs/${project.name}-win64-${version}.exe", tofile:"${installerDir}/AppFiles/ipscan.exe")
if (platform.startsWith('win')) {