Plugins: Add get-plugins.ps1 script

This commit is contained in:
Katy Coe
2020-12-19 21:37:08 +01:00
parent 735dc2824b
commit b94d8a4d92
2 changed files with 9 additions and 0 deletions

8
get-plugins.ps1 Normal file
View File

@@ -0,0 +1,8 @@
# 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' } <EFBFBD>PassThru
wget -OutFile $temp https://github.com/djkaty/Il2CppInspectorPlugins/releases/latest/download/plugins.zip
Expand-Archive -Path $temp -DestinationPath $pwd -Force
del $temp