fix update manager finished
This commit is contained in:
4
Main.qml
4
Main.qml
@@ -6,7 +6,6 @@ import "qml/components" as Components
|
||||
import "qml/pages" as Pages
|
||||
import "qml/buttons" as Buttons
|
||||
import "qml/dialogs" as Dialogs
|
||||
import archpack
|
||||
|
||||
ApplicationWindow {
|
||||
id: root
|
||||
@@ -20,7 +19,6 @@ ApplicationWindow {
|
||||
visible: true
|
||||
color: Theme.color1
|
||||
|
||||
property string packageManager: "yay"
|
||||
property bool consoleOpen: false
|
||||
|
||||
Component.onCompleted: ProcessManager.checkUpdates()
|
||||
@@ -97,7 +95,7 @@ ApplicationWindow {
|
||||
}
|
||||
|
||||
readonly property string consoleTitle: tabs.currentIndex === 0 ? "Консоль обновления" : tabs.currentIndex === 1 ? "Консоль установки" : "Консоль удаления"
|
||||
readonly property string consoleStatus: Utils.statusConsole(tabs.currentIndex, ProcessManager.status)
|
||||
readonly property string consoleStatus: Utils.statusConsole(ProcessManager.status)
|
||||
readonly property var consoleLog: tabs.currentIndex === 0 ? ProcessManager.updateLog : []
|
||||
// readonly property var consoleLog: tabs.currentIndex === 0 ? ProcessManager.updateLog : tabs.currentIndex === 1 ? UpdateManager.installLog : UpdateManager.removalLog
|
||||
|
||||
|
||||
Reference in New Issue
Block a user