Skip to content

Commit f3b77a9

Browse files
committed
launches known-issues page for webOS 9 crash
1 parent b4e9164 commit f3b77a9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/app/ui/root.c

+7
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,13 @@ SDL_Window *app_ui_create_window(app_ui_t *ui) {
297297
}
298298
SDL_Window *win = SDL_CreateWindow("Moonlight", win_x, win_y, win_width, win_height, win_flags);
299299
if (win == NULL) {
300+
#ifdef TARGET_WEBOS
301+
// For webOS 24 (9.0), unpopulated jailer config could cause graphics driver initialization failure
302+
// We don't have any way to work around this, so we try to launch a web page about this issue
303+
if (ui->app->os_info.version.major >= 9) {
304+
SDL_OpenURL("https://github.com/mariotaku/moonlight-tv/wiki/Known-Issues");
305+
}
306+
#endif
300307
commons_log_fatal("APP", "Failed to create window: %s", SDL_GetError());
301308
app_halt(ui->app);
302309
}

0 commit comments

Comments
 (0)