Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launch Known-Issues Page for webOS 9 Crash #469

Merged
merged 1 commit into from
Oct 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/app/ui/root.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,13 @@ SDL_Window *app_ui_create_window(app_ui_t *ui) {
}
SDL_Window *win = SDL_CreateWindow("Moonlight", win_x, win_y, win_width, win_height, win_flags);
if (win == NULL) {
#ifdef TARGET_WEBOS
// For webOS 24 (9.0), unpopulated jailer config could cause graphics driver initialization failure
// We don't have any way to work around this, so we try to launch a web page about this issue
if (ui->app->os_info.version.major >= 9) {
SDL_OpenURL("https://github.com/mariotaku/moonlight-tv/wiki/Known-Issues");
}
#endif
commons_log_fatal("APP", "Failed to create window: %s", SDL_GetError());
app_halt(ui->app);
}
Expand Down