File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 11
11
12
12
from ..gui import show_text_dialog
13
13
from ..flatpak import is_flatpak_sandbox
14
- from ..util import is_steam_deck
14
+ from ..util import is_steam_deck , is_steamos
15
15
from .. import __version__
16
16
17
17
@@ -138,6 +138,10 @@ def exit_with_error(error, desktop=False):
138
138
with contextlib .suppress (Exception ):
139
139
is_steam_deck_ = is_steam_deck ()
140
140
141
+ is_steamos_ = None
142
+ with contextlib .suppress (Exception ):
143
+ is_steamos_ = is_steamos ()
144
+
141
145
# Display an error dialog containing the message
142
146
message = "" .join ([
143
147
"Protontricks was closed due to the following error:\n \n " ,
@@ -147,7 +151,8 @@ def exit_with_error(error, desktop=False):
147
151
"Environment:\n \n " ,
148
152
f"Protontricks version: { __version__ } \n " ,
149
153
f"Is Flatpak sandbox: { is_flatpak_sandbox_ } \n " ,
150
- f"Is Steam Deck: { is_steam_deck_ } \n \n " ,
154
+ f"Is Steam Deck: { is_steam_deck_ } \n " ,
155
+ f"Is SteamOS 3+: { is_steamos_ } \n \n " ,
151
156
"Log messages:\n \n " ,
152
157
f"{ log_messages } "
153
158
])
You can’t perform that action at this time.
0 commit comments