mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-28 18:18:52 +00:00
Switch to Python implementation of SymStore
This commit is contained in:
parent
f98cb67cad
commit
327f977ae6
@ -40,15 +40,13 @@ finally
|
|||||||
Pop-Location
|
Pop-Location
|
||||||
}
|
}
|
||||||
|
|
||||||
$windowsSDKFolder = Get-ItemPropertyValue "HKLM:\SOFTWARE\WOW6432Node\Microsoft\Microsoft SDKs\Windows\v10.0" InstallationFolder
|
if (-not (Test-Path symstore-venv))
|
||||||
|
|
||||||
try
|
|
||||||
{
|
{
|
||||||
$responseFile = New-TemporaryFile
|
python -m venv symstore-venv
|
||||||
$artifacts | Set-Content $responseFile
|
|
||||||
& "$windowsSDKFolder\debuggers\x64\symstore.exe" add /f @$responseFile /s .\SymStore /compress /t "I don't know why /t is needed"
|
|
||||||
}
|
}
|
||||||
finally
|
if (-not (Test-Path symstore-venv\Scripts\symstore.exe))
|
||||||
{
|
{
|
||||||
Remove-Item $responseFile
|
symstore-venv\Scripts\pip install symstore==0.3.3
|
||||||
}
|
}
|
||||||
|
$artifacts = $artifacts | Where-Object { Test-Path $_ }
|
||||||
|
symstore-venv\Scripts\symstore --compress .\SymStore @artifacts
|
||||||
|
Loading…
Reference in New Issue
Block a user