Files
Il2CppInspectorRedux/get-plugins.ps1
2020-12-19 21:37:08 +01:00

9 lines
456 B
PowerShell
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Copyright 2020 Katy Coe - http://www.djkaty.com - https://github.com/djkaty
# All rights reserved.
# Download the latest set of plugins to a temporary file, extract the archive then delete it
$temp = New-TemporaryFile | Rename-Item -NewName { $_ -replace 'tmp$', 'zip' } PassThru
wget -OutFile $temp https://github.com/djkaty/Il2CppInspectorPlugins/releases/latest/download/plugins.zip
Expand-Archive -Path $temp -DestinationPath $pwd -Force
del $temp