Alexander Karatarakis
e3099b458b
Use 7zip920 instead of 7zr
2018-04-06 17:24:46 -07:00
Alexander Karatarakis
54c68da907
Use aria2 to do downloads (other than aria2 itself, 7za and 7zr)
2018-04-06 17:24:45 -07:00
Alexander Karatarakis
31377dee20
Use 7z for extracting. Extract tools in downloads/tools
2018-04-06 17:24:45 -07:00
Alexander Karatarakis
72194ae8a0
[ps1] More fixes/tweaks
2018-03-27 04:08:57 -07:00
Alexander Karatarakis
7275877332
[ps1] Fixes/tweaks
2018-03-27 03:04:05 -07:00
Alexander Karatarakis
bc4fd2653b
Improve warning message about Powershell 5.1
2018-03-22 16:46:52 -07:00
Alexander Karatarakis
fdf8d471ed
[TLS 1.2] Add message for Powershell 5.1+
2018-03-20 12:39:53 -07:00
Robert Schumacher
7aaa59fc9d
[vcpkg] Fix extracting on Windows Server Core. Related to #2518 .
2018-03-11 23:42:53 -07:00
Alexander Karatarakis
6e0b74c784
[vcpkgHasProperty] Return false if property doesn't exist
2018-02-28 18:45:33 -08:00
Alexander Karatarakis
d979d9b491
Fix issue when isPrerelease is not available
2018-02-28 18:45:33 -08:00
Robert Schumacher
4642191a09
[vcpkg-scripts] The shell zip extractor requires full paths
2018-02-28 03:40:10 -08:00
Alexander Karatarakis
ce53ea0011
TLS fix
2018-02-22 17:56:55 -08:00
Jim McGrath
b0f2b75a2b
use TLS 1.2 for downloads
2018-02-22 15:19:14 -06:00
Alexander Karatarakis
2f6cf768e5
Improve vcpkgRemoveItem
2018-02-20 16:58:19 -08:00
Alexander Karatarakis
3aac3957ae
[vcpkgInvokeCommandClean] Don't use -encodedCommand.
...
Instead, use -Command with the appropriate number of escaped quotes
(which ended up being 3)
2018-02-07 17:31:30 -08:00
Alexander Karatarakis
815e3caf55
Merge findFileRecursivelyUp into VcpkgPowershellUtils
2018-02-07 17:31:30 -08:00
Alexander Karatarakis
c9d434dfbc
vcpkgRemoveItem: nullcheck
2018-02-06 15:36:16 -08:00
Neil McNeight
f136732dcd
Fix for Issue #2729
...
Allows PowerShell to change the name of the downloaded directory correctly.
2018-02-06 15:26:06 -06:00
Alexander Karatarakis
2bc105cd95
Add vcpkgFormatElapsedTime in powershell side
2018-01-30 14:42:33 -08:00
Alexander Karatarakis
e9b0de9d68
Add -NoProfile and -ExecutionPolicy Bypass in powershell call
2018-01-25 17:27:43 -08:00
Alexander Karatarakis
89addaa7a5
VcpkgInvokeCommand: return the error code
2018-01-25 14:57:26 -08:00
Alexander Karatarakis
a8a20f1a13
VcpkgInvokeCommand: remove paramter $wait
2018-01-25 14:46:00 -08:00
Alexander Karatarakis
0df743d625
[bootstrap] Build vcpkg in a clean environment
2018-01-23 14:16:06 -08:00
Alexander Karatarakis
62c8626f4d
vcpkgInvokeCommand(): Add -NoNewWindows flag
2018-01-23 14:16:06 -08:00
Alexander Karatarakis
81ab439b48
[VcpkgPowershelUtils] Inline variable
2018-01-17 17:34:41 -08:00
Alexander Karatarakis
3390007020
[powershell] Remove usages of BitsTransfer
2018-01-17 17:34:40 -08:00
Alexander Karatarakis
1656cf7fa7
[powershell] Use \ instead of / for paths. Resolves #2358 . Resolves #2361
2017-12-12 17:53:29 -08:00
Alexander Karatarakis
1f3013bea3
Improve vcpkgExtractFile. Also merge vcpkgRemoveDirectory/File
2017-12-08 15:16:35 -08:00
Alexander Karatarakis
b7c9ef5553
Don't return $destinationDir
2017-11-27 00:45:00 -08:00
Alexander Karatarakis
2c914ff05a
Rework vcpkgExtractFile (powershell)
2017-11-27 00:42:39 -08:00
Alexander Karatarakis
c4c079f86e
[VcpkgPowershellUtils] Minor tweaks
2017-11-27 00:42:39 -08:00
Alexander Karatarakis
8883e40aaa
vcpkgCreateDirectory->vcpkgCreateDirectoryIfNotExists
2017-11-26 01:31:58 -08:00
Alexander Karatarakis
6290155eaa
[vcpkgExtractFile] Fix partial dir name. Special case 1-item zips
...
- If the zip contains a single item, pull that up a directory
- If the zip contains multiple items, place that in a directory on of the same name as the zip
2017-11-17 01:23:14 -08:00
Alexander Karatarakis
b2e1dc3e5a
Use temp-and-rename pattern for extracting
2017-11-16 02:02:00 -08:00
Alexander Karatarakis
2abdcc1eec
Introduce VcpkgPowershellUtils
2017-11-15 22:37:24 -08:00