1
0
mirror of https://github.com/mitb-archive/filebot synced 2025-01-14 07:18:03 -05:00

Play with PowerShell

This commit is contained in:
Reinhard Pointner 2016-11-03 03:58:03 +08:00
parent f46185ed6b
commit 61a691e789

View File

@ -580,9 +580,9 @@
<fileset dir="${dir.lib}/native/win32-x64" /> <fileset dir="${dir.lib}/native/win32-x64" />
</copy> </copy>
<!-- fetch latest JRE -->
<exec executable="powershell" dir="${basedir.cache}" failonerror="yes"> <exec executable="powershell" dir="${basedir.cache}" failonerror="yes">
<arg value="NoProfile ExecutionPolicy Bypass -Command" /> <arg line="NoProfile ExecutionPolicy Bypass -Command 'Invoke-WebRequest https://raw.githubusercontent.com/rednoah/java-installer/master/release/install-jre.ps1 | Invoke-Expression'" />
<arg value="Invoke-WebRequest https://raw.githubusercontent.com/rednoah/java-installer/master/release/install-jre.ps1 | Invoke-Expression" />
</exec> </exec>
<copy todir="${dir.dist}/appx/jre"> <copy todir="${dir.dist}/appx/jre">
<tarfileset> <tarfileset>