Add check for snap/flatpak Steam

This commit is contained in:
Patrick Nicolas
2025-11-19 14:16:15 +01:00
parent 9a55178b41
commit aff498bc2d
8 changed files with 232 additions and 7 deletions
+22
View File
@@ -216,6 +216,28 @@ Kirigami.ApplicationWindow {
visible: WivrnServer.openVRCompat.length == 0 && config.openvr == ""
}
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("Steam is installed as a snap. Snaps are not compatible with WiVRn.")
type: Kirigami.MessageType.Warning
showCloseButton: true
visible: DashboardSettings.show_system_checks && Steam.snap
}
Kirigami.InlineMessage {
Layout.fillWidth: true
text: i18n("Steam is installed as a flatpak but does not have sufficient permissions.")
type: Kirigami.MessageType.Warning
showCloseButton: true
visible: DashboardSettings.show_system_checks && Steam.flatpakNeedPerm
actions: [
Kirigami.Action {
text: i18n("Fix it")
onTriggered: Steam.fixFlatpakPerm()
}
]
}
Kirigami.InlineMessage {
id: message_failed_to_start
Layout.fillWidth: true