()
| 11 | const nativeBinding = path.resolve('apps/cli/native/better_sqlite3.node') |
| 12 | |
| 13 | function makeTempDir(): string { |
| 14 | const baseDir = fs.existsSync('/private/tmp') ? '/private/tmp' : os.tmpdir() |
| 15 | return fs.mkdtempSync(path.join(baseDir, 'chatlab-desktop-migration-')) |
| 16 | } |
| 17 | |
| 18 | function makePathProvider(root: string): PathProvider { |
| 19 | return { |