diff --git a/script/build_with_pake_cli.ps1 b/script/build_with_pake_cli.ps1 index 773d5f4..54b4d26 100644 --- a/script/build_with_pake_cli.ps1 +++ b/script/build_with_pake_cli.ps1 @@ -71,6 +71,15 @@ if (($null -ne $env:TARGETS) -and ($env:TARGETS -ne "") -and ($IsLinux)) { ${Params}="${Params} --targets $env:TARGETS" } +# add systemTray for Window / Linux default +if ($IsWindows) { + ${Params}="${Params} --show-system-tray" +} + +if ($IsLinux) { + ${Params}="${Params} --show-system-tray" +} + Write-Host "Pake parameters is: ${Params}" Write-Host "compile...." Invoke-Expression $Params