This makes element-desktop use an explicit filename, instead of using get-childitem.
It also removes all .exe files from the tools directory, not just the .exe for the current version.
Using Get-Childitem can fail on upgrade if the previous .exe was not removed for some reason.
This makes element-desktop use an explicit filename, instead of using
get-childitem
. It also removes all .exe files from the tools directory, not just the.exe
for the current version.Using
Get-Childitem
can fail on upgrade if the previous.exe
was not removed for some reason.