Files
modorganizer-installer_wizard/make.ps1
T

11 lines
422 B
PowerShell
Raw Normal View History

2020-11-08 21:56:23 +01:00
# Install the lib:
pip install --target=.\src\lib --upgrade git+https://github.com/Holt59/bain-wizard-interpreter | Out-Null
# Convert ui files:
Get-ChildItem -Recurse -File -Include "*.ui" | ForEach-Object {
pyuic5 $_ -o ([io.path]::ChangeExtension($_.FullName, "py"))
}
# Generate the .ts file:
2020-11-09 13:03:53 +01:00
pylupdate5 (Get-ChildItem src -Exclude lib | Get-ChildItem -Recurse -File -Include "*.py") -ts installer_wizard_en.ts