mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
b03136d300
* fix webp support on iOS for all applewebkit based browsers. (Safari, Chrome, Firefox) * change logic, rather than checking for browser based on user agent use the deveice the game is being played on. * enable webp for safari desktop browsers * Update pal/system-info/web/system-info.ts Co-authored-by: qiuguohua <qiuguohua111@126.com> * Update pal/system-info/web/system-info.ts Co-authored-by: qiuguohua <qiuguohua111@126.com> --------- Co-authored-by: Isaac Gibbs <isaac.gibbs@penn-interactive.com> Co-authored-by: ECiocca <598985+ECiocca@users.noreply.github.com> Co-authored-by: qiuguohua <qiuguohua111@126.com>