mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-04-21 21:52:03 +02:00
14 lines
439 B
PowerShell
14 lines
439 B
PowerShell
[cmdletbinding()]
|
|
param (
|
|
[string]$qtver
|
|
);
|
|
|
|
$clientDir = split-path -parent $MyInvocation.MyCommand.Definition
|
|
$qtver = If ($qtver) { $qtver } Else { "5.15.0" }
|
|
$qtMsvcDir = "msvc2019_64"
|
|
$QtDir = "C:\Qt\$qtver\$qtMsvcDir"
|
|
|
|
$tsFileNames = Get-ChildItem -Path "$clientDir\translations" -Recurse -Include *.ts
|
|
$lupdate = "$QtDir\bin\lupdate.exe"
|
|
|
|
Invoke-Expression("$lupdate $clientDir\src -ts $tsFileNames -no-obsolete")
|