机型
新增 38 款圆屏 + CIQ ≥ 4.2 的机型:fenix 7 Pro 全系、Venu 2/3S、
Approach S50/S70、Descent G2/Mk3、D2 系列、Instinct 3 AMOLED、
FR255S/265S/570/955 等。其中 34 款的屏宽已有现成图标资源。
机型列表和 monkey.jungle 改由 tools/gen_devices.py 扫描本机 SDK 生成,
筛选条件是「支持 watchFace + 圆屏 + CIQ ≥ 4.2」(Complications 要 4.2)。
55 条资源路径不再手写。
新增 218px 与 360px 两档图标。218px 上图标只有 14×14,设计稿里太阳与云
之间那道 1.7 设计像素的暗缝连一个物理像素都占不到,光栅化出来是一坨没有
结构的橙块 —— 该尺寸改用按目标像素直接摆的简化标记。
常亮模式:结论是不改
为了压所谓的 10% 点亮率,一度把进度环也砍掉了。换成平均亮度(AMOLED 功耗
的合理代理)重新量之后发现:普通模式 14.1%,常亮 2.9%,本来就只有 1/5;
砍掉环只从 3.01% 降到 2.91%。0.1 个百分点换掉一个可见特征不划算,环留着。
两种度量的差异和这个决定都写进了代码注释和 README。
其它
- LICENSE(MIT)。只覆盖代码 —— design/ 下的设计稿版权归第三方,
发布前需取得原作者授权或替换视觉,文件内已注明。
- UserProfile.getProfile() 加异常保护(这个 API 家族已经坑过三次)
- CHANGELOG.md,版本号 1.0.0 → 1.1.0
验证:55 款全部编译通过(分三批 18+18+19);.iq 上架包可正常导出。
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
70 lines
5.3 KiB
Jungle
70 lines
5.3 KiB
Jungle
project.manifest = manifest.xml
|
|
|
|
base.sourcePath = source
|
|
|
|
# resources-chn 是简体中文文案;目录名的 -chn 后缀就是语言标记。
|
|
base.resourcePath = resources;resources-chn
|
|
|
|
# 下面每台设备再挂两棵资源树,都由 tools/gen_icons.py 生成:
|
|
# resources-icons-<屏宽> 按该屏幕像素网格光栅化的日出/日落/天气图标
|
|
# resources-launcher-<尺寸> 该机型要求尺寸的启动图标
|
|
# 这一整段由 tools/gen_devices.py 生成,不要手改。
|
|
|
|
approachs50.resourcePath = $(base.resourcePath);resources-icons-390;resources-launcher-56
|
|
approachs7042mm.resourcePath = $(base.resourcePath);resources-icons-390;resources-launcher-60
|
|
approachs7047mm.resourcePath = $(base.resourcePath);resources-icons-454;resources-launcher-70
|
|
d2airx10.resourcePath = $(base.resourcePath);resources-icons-416;resources-launcher-70
|
|
d2mach1.resourcePath = $(base.resourcePath);resources-icons-416;resources-launcher-60
|
|
d2mach2.resourcePath = $(base.resourcePath);resources-icons-454;resources-launcher-65
|
|
descentg2.resourcePath = $(base.resourcePath);resources-icons-390;resources-launcher-60
|
|
descentmk343mm.resourcePath = $(base.resourcePath);resources-icons-390;resources-launcher-60
|
|
descentmk351mm.resourcePath = $(base.resourcePath);resources-icons-454;resources-launcher-60
|
|
enduro3.resourcePath = $(base.resourcePath);resources-icons-280;resources-launcher-40
|
|
epix2.resourcePath = $(base.resourcePath);resources-icons-416;resources-launcher-60
|
|
epix2pro42mm.resourcePath = $(base.resourcePath);resources-icons-390;resources-launcher-60
|
|
epix2pro47mm.resourcePath = $(base.resourcePath);resources-icons-416;resources-launcher-60
|
|
epix2pro51mm.resourcePath = $(base.resourcePath);resources-icons-454;resources-launcher-60
|
|
fenix7.resourcePath = $(base.resourcePath);resources-icons-260;resources-launcher-40
|
|
fenix7pro.resourcePath = $(base.resourcePath);resources-icons-260;resources-launcher-40
|
|
fenix7pronowifi.resourcePath = $(base.resourcePath);resources-icons-260;resources-launcher-40
|
|
fenix7s.resourcePath = $(base.resourcePath);resources-icons-240;resources-launcher-40
|
|
fenix7spro.resourcePath = $(base.resourcePath);resources-icons-240;resources-launcher-40
|
|
fenix7x.resourcePath = $(base.resourcePath);resources-icons-280;resources-launcher-40
|
|
fenix7xpro.resourcePath = $(base.resourcePath);resources-icons-280;resources-launcher-40
|
|
fenix7xpronowifi.resourcePath = $(base.resourcePath);resources-icons-280;resources-launcher-40
|
|
fenix843mm.resourcePath = $(base.resourcePath);resources-icons-416;resources-launcher-60
|
|
fenix847mm.resourcePath = $(base.resourcePath);resources-icons-454;resources-launcher-65
|
|
fenix8pro47mm.resourcePath = $(base.resourcePath);resources-icons-454;resources-launcher-65
|
|
fenix8solar47mm.resourcePath = $(base.resourcePath);resources-icons-260;resources-launcher-40
|
|
fenix8solar51mm.resourcePath = $(base.resourcePath);resources-icons-280;resources-launcher-40
|
|
fenixe.resourcePath = $(base.resourcePath);resources-icons-416;resources-launcher-60
|
|
fr165.resourcePath = $(base.resourcePath);resources-icons-390;resources-launcher-54
|
|
fr165m.resourcePath = $(base.resourcePath);resources-icons-390;resources-launcher-54
|
|
fr255.resourcePath = $(base.resourcePath);resources-icons-260;resources-launcher-40
|
|
fr255m.resourcePath = $(base.resourcePath);resources-icons-260;resources-launcher-40
|
|
fr255s.resourcePath = $(base.resourcePath);resources-icons-218;resources-launcher-40
|
|
fr255sm.resourcePath = $(base.resourcePath);resources-icons-218;resources-launcher-40
|
|
fr265.resourcePath = $(base.resourcePath);resources-icons-416;resources-launcher-60
|
|
fr265s.resourcePath = $(base.resourcePath);resources-icons-360;resources-launcher-60
|
|
fr57042mm.resourcePath = $(base.resourcePath);resources-icons-390;resources-launcher-54
|
|
fr57047mm.resourcePath = $(base.resourcePath);resources-icons-454;resources-launcher-65
|
|
fr955.resourcePath = $(base.resourcePath);resources-icons-260;resources-launcher-40
|
|
fr965.resourcePath = $(base.resourcePath);resources-icons-454;resources-launcher-65
|
|
fr970.resourcePath = $(base.resourcePath);resources-icons-454;resources-launcher-65
|
|
instinct3amoled45mm.resourcePath = $(base.resourcePath);resources-icons-390;resources-launcher-60
|
|
instinct3amoled50mm.resourcePath = $(base.resourcePath);resources-icons-416;resources-launcher-60
|
|
instinctcrossoveramoled.resourcePath = $(base.resourcePath);resources-icons-390;resources-launcher-38
|
|
marq2.resourcePath = $(base.resourcePath);resources-icons-390;resources-launcher-60
|
|
marq2aviator.resourcePath = $(base.resourcePath);resources-icons-390;resources-launcher-60
|
|
venu2.resourcePath = $(base.resourcePath);resources-icons-416;resources-launcher-70
|
|
venu2plus.resourcePath = $(base.resourcePath);resources-icons-416;resources-launcher-70
|
|
venu2s.resourcePath = $(base.resourcePath);resources-icons-360;resources-launcher-61
|
|
venu3.resourcePath = $(base.resourcePath);resources-icons-454;resources-launcher-70
|
|
venu3s.resourcePath = $(base.resourcePath);resources-icons-390;resources-launcher-70
|
|
venu441mm.resourcePath = $(base.resourcePath);resources-icons-390;resources-launcher-54
|
|
venu445mm.resourcePath = $(base.resourcePath);resources-icons-454;resources-launcher-65
|
|
vivoactive5.resourcePath = $(base.resourcePath);resources-icons-390;resources-launcher-56
|
|
vivoactive6.resourcePath = $(base.resourcePath);resources-icons-390;resources-launcher-54
|
|
|
|
base.excludeAnnotations = release
|