You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c735ba3
Browse filesBrowse the repository at this point in the historyBrowse files
authored
fix(codegen): select largest ICO entry instead of first (#15241)
* fix(codegen): select largest ICO entry instead of first
* fix(runtime-wry): use exe resource icon on Windows
* fix: cap codegen icon at 32x32, use exe resource for ICON_BIG
* chore(deps): update dependency vitest to v4.1.0 [security] (#15462)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Remove setting taskbar icon
> #15241 (comment)
* Switch back to the biggest entry
* Generate the ico in regular ascending order
* fix(codegen): pick the largest ICO entry by area and depth, describe the post-#15274 scope
Compare width*height (with bits_per_pixel as tie-breaker) instead of
width alone, and panic with the icon path instead of a bare unwrap when
the ICO has no entries. Since #15274 the Windows default window icon is
read from the exe resource, so this only affects .ico files embedded via
include_image! or as the tray icon; update the change file accordingly.
* change from_app_icon_resource to load the largest icon too
* add tests
* readd size input
* lint
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tony <legendmastertony@gmail.com>
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Select the largest entry of an ICO file instead of the first one when embedding it with `include_image!` or as the tray icon, so the OS downscales a high-resolution source instead of upscaling the 16x16 entry.
0 commit comments