(appName: string)
| 5 | import { env } from '../'; |
| 6 | |
| 7 | function sanitizeName(appName: string): string { |
| 8 | return appName.split("").filter((c) => |
| 9 | /[a-zA-Z0-9]/.test(c) |
| 10 | ).join(""); |
| 11 | } |
| 12 | function getDistPath() { |
| 13 | const appName = sanitizeName(basename(getProjectRootPath())); |
| 14 | return `${env.buildPath ?? "platforms"}/visionos/${appName}/app`; |
no test coverage detected