()
| 53 | } |
| 54 | |
| 55 | function platformsToTry() { |
| 56 | const p = typeof args.platform === 'string' ? args.platform.toLowerCase() : '' |
| 57 | if (p === 'mobile' || p === 'desktop') return [p] |
| 58 | return ['desktop', 'mobile'] // prefer desktop, fall back to mobile |
| 59 | } |
| 60 | |
| 61 | async function main() { |
| 62 | const { dbPath, exists } = getSessionDbPath(projectRoot, config.sessionPath) |