Add ufw detection and setup

This commit is contained in:
Patrick Nicolas
2025-10-05 20:26:07 +02:00
parent 34494f18e6
commit 8e4e4c9596
5 changed files with 166 additions and 0 deletions
+14
View File
@@ -117,6 +117,20 @@ Kirigami.ApplicationWindow {
]
}
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("Firewall may not allow port 9757.")
type: Kirigami.MessageType.Warning
showCloseButton: true
visible: Firewall.needSetup
actions: [
Kirigami.Action {
text: i18n("Fix it")
onTriggered: Firewall.doSetup()
}
]
}
Kirigami.InlineMessage {
id: restart_capsysnice
Layout.fillWidth: true