update pake-cli, fixup a bug

This commit is contained in:
Tlntin
2023-03-18 14:01:27 +08:00
parent bd6078d288
commit b10cbf4168

View File

@@ -27,7 +27,7 @@ Set-Location node_modules/pake-cli
${Params}="node cli.js $env:URL --name $env:NAME"
# download icon
if ((($null -ne $env:URL) -and ($env:URL -ne ""))){
if ((($null -ne $env:ICON) -and ($env:ICON -ne ""))){
if ($IsLinux) {
curl -L "$env:ICON" -o icon.png
${Params}="${Params} --icon icon.png"