mirror of
https://github.com/ModOrganizer2/modorganizer-installer_wizard.git
synced 2026-07-27 14:07:59 -07:00
11 lines
422 B
PowerShell
11 lines
422 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 src -Exclude lib | Get-ChildItem -Recurse -File -Include "*.py") -ts installer_wizard_en.ts
|