mirror of
https://github.com/xgui4/LCE-Qt-Launcher.git
synced 2026-07-18 03:40:50 +00:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user