add systemTray for Window / Linux default on pake-cli actions
This commit is contained in:
9
script/build_with_pake_cli.ps1
vendored
9
script/build_with_pake_cli.ps1
vendored
@@ -71,6 +71,15 @@ if (($null -ne $env:TARGETS) -and ($env:TARGETS -ne "") -and ($IsLinux)) {
|
|||||||
${Params}="${Params} --targets $env:TARGETS"
|
${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 "Pake parameters is: ${Params}"
|
||||||
Write-Host "compile...."
|
Write-Host "compile...."
|
||||||
Invoke-Expression $Params
|
Invoke-Expression $Params
|
||||||
|
|||||||
Reference in New Issue
Block a user