Play with PowerShell

This commit is contained in:
Reinhard Pointner 2016-11-03 03:50:39 +08:00
parent 0974d7b2a3
commit f46185ed6b
1 changed files with 5 additions and 0 deletions

View File

@ -579,6 +579,11 @@
<fileset dir="${dir.installer}/appx" includes="*.exe, *.ini, *.png" />
<fileset dir="${dir.lib}/native/win32-x64" />
</copy>
<exec executable="powershell" dir="${basedir.cache}" failonerror="yes">
<arg value="NoProfile ExecutionPolicy Bypass -Command" />
<arg value="Invoke-WebRequest https://raw.githubusercontent.com/rednoah/java-installer/master/release/install-jre.ps1 | Invoke-Expression" />
</exec>
<copy todir="${dir.dist}/appx/jre">
<tarfileset>
<gzipresource>