add systemTray for Window / Linux default on pake-cli actions

This commit is contained in:
Tlntin
2023-04-19 22:40:16 +08:00
parent af9c1d3cc2
commit 60b3cd48e2

View File

@@ -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