Files
modorganizer-installer_wizard/make.ps1
T
2020-11-08 21:56:23 +01:00

11 lines
418 B
PowerShell

# 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:
pylupdate5 (Get-ChildItem -Exclude lib | Get-ChildItem -Recurse -File -Include "*.py") -ts installer_wizard_en.ts