update pkgbuild, some files names, and add consoles logging on the build scripts and also upgrade some scripts to use loop and advanced shell feature for better upgradability of the software and easier to add modues

This commit is contained in:
Xgui4 Studio
2026-04-25 13:06:56 -04:00
parent cd8d126454
commit 532eb78ff3
19 changed files with 135 additions and 57 deletions

View File

@@ -2,13 +2,26 @@
$ErrorActionPreference = 'Stop'
Write-Output "Removing the Nuitka compilation folder"
Remove-Item -Path "dist" -Recurse
Write-Output "Removing the Nuitka compilation folder finished"
Remove-Item -Path "src\lce_qt_launcher\res_rc.py"
Remove-Item -Path "src\lce_qt_launcher\ui_system_info.py"
Remove-Item -Path "src\lce_qt_launcher\ui_form.py"
Remove-Item -Path "src\lce_qt_launcher\ui_instance.py"
Remove-Item -Path "src\lce_qt_launcher\ui_settingDialog.py"
Remove-Item -Path "src\lce_qt_launcher\ui_about.py"
Write-Output "Removing the compilated Qt UI and Qt Ressource files"
Get-ChildItem -Path . -Recurse -Include '__pycache__', '*.pyc' | Remove-Item -Recurse -Force
$QT_RESSOURCE="res_rc"
$QT_UI_ARRAY="system_info","form","instance","settingDialog","about"
Write-Output "Removing the compilated Qt Ressource file"
Remove-Item -Path "src\lce_qt_launcher\$QT_RESSOURCE.py"
Write-Output "Removing the compilated Qt Ressource file finished"
foreach ($QT_UI in $QT_UI_ARRAY)
{
Write-Output "Removing the compilated ui_$QT_UI.py Qt UI file"
Remove-Item -Path "src\lce_qt_launcher\ui_$QT_UI.py"
Write-Output "Removing the compilated ui_$QT_UI.py Qt UI file finished"
}
Write-Output "Removing every pycaches filed"
Get-ChildItem -Path . -Recurse -Include '__pycache__', '*.pyc' | Remove-Item -Recurse -Force
Write-Output "Removing every pycaches done"