Play with PowerShell
This commit is contained in:
parent
0974d7b2a3
commit
f46185ed6b
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue