(appPath: string)
| 283 | |
| 284 | // 获取本地化应用名称(先尝试 lproj,再尝试 loctable) |
| 285 | async function getLocalizedMetadata(appPath: string): Promise<LocalizedAppMetadata | null> { |
| 286 | return ( |
| 287 | (await getLocalizedMetadataFromLproj(appPath)) ?? |
| 288 | (await getLocalizedMetadataFromLoctable(appPath)) |
| 289 | ) |
| 290 | } |
| 291 | |
| 292 | async function getBundleNames(appPath: string): Promise<string[]> { |
| 293 | const fileName = path.basename(appPath, '.app') |
no test coverage detected