MōBrowser 2.13.1
MōBrowser 2.13.1 is a maintenance release. It makes HTML file inputs open a file selection dialog, fixes the size of native context menus, brings the app icon back to the window titlebar on Windows, and improves AI automation support.
Fixes and improvements
- Fixed a bug where clicking an
<input type="file">element on a web page did nothing. The file selection dialog now opens on all platforms and honors theaccept,multiple, andwebkitdirectoryattributes of the input. - Fixed a bug where a context menu returned from the
showContextMenuhandler was laid out in a box smaller than its items required, so labels were ellipsized, accelerators were clipped, and a scroll arrow appeared for a menu of just a few items. The menu is now sized to fit its content. - Restored the app icon in the window titlebar on Windows. The icon configured via
app.bundle.Windows.iconhad not been painted since the window frame was replaced with a custom one. - AI automation: extended the
AGENTS.mdfile of generated projects with a gotcha about web workers. Vite only bundles a worker whennew Worker(new URL('./worker.ts', import.meta.url))appears as a single co-located expression; splitting thenew URL(...)andnew Worker(...)calls across files works innpm run devbut leaves the worker unresolved in a bundled app.