xmake-io / xmake

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

fixbug:nsis pack only support ascii path without blank space #5414

Closed jinke18 closed 1 month ago

jinke18 commented 2 months ago

when using xpack with nsis format, it will not work if there is path with chinese character or blank space.

for the first problem, i fix it by using ansi encoding. Since nsis is not supported in linux-like os, we do not need to consider conditions for linux?

And the second problem is fixed according to the grammar tips given by nsis.