mirror of
https://github.com/storytold/craft-launcher.git
synced 2026-11-16 15:14:56 +00:00
A launcher whose window couldn't be created exited with code 1 and said nothing. The reason only reached the log file, which someone whose launcher never opens does not know to read, so a startup failure looked like a launcher that was simply broken. The failure path now shows a native error dialog naming the backend that was tried and the error wgpu reported, in the user's language. The text is a `@msg` template, so it is translated where it is shown and the backend and error text are carried over into the translation; the backend names (Direct3D 12, OpenGL, Vulkan, Metal) stay in English, as app names do. Fixes #1081 Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>