xmake-io / xmake

🔥 A cross-platform build utility based on Lua
https://xmake.io
Apache License 2.0
10.14k stars 782 forks source link

get.ps1: Update method to get temp path to avoid failure in 8.3 path #5255 #5256

Closed Patrick-Ze closed 4 months ago

Patrick-Ze commented 4 months ago

This PR addresses the issue of the installation script failing when the TMP/TEMP path contains 8.3 format by using the built-in PowerShell function [System.IO.Path]::GetTempPath() to retrieve the temp path.

https://github.com/xmake-io/xmake/issues/5255