diff --git a/script/build_with_pake_cli.ps1 b/script/build_with_pake_cli.ps1 index 4a0f961..773d5f4 100644 --- a/script/build_with_pake_cli.ps1 +++ b/script/build_with_pake_cli.ps1 @@ -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"