elan icon indicating copy to clipboard operation
elan copied to clipboard

powershell installation doesn't work on PS v4 or below

Open Voileexperiments opened this issue 2 years ago • 0 comments

On PS v4 or below Expand-Archive is unavailable, so the install script fails.

This seems to work (I haven't tested this intensively):

Add-Type -assembly "system.io.compression.filesystem"
[System.IO.Compression.ZipFile]::ExtractToDirectory("$_dir/elan-init.zip", "$_dir")

Voileexperiments avatar Jan 10 '23 03:01 Voileexperiments