wip: desktop work

This commit is contained in:
Adam 2025-10-24 08:26:17 -05:00
commit fe8f6d7a3e
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75
8 changed files with 350 additions and 72 deletions

View file

@ -1,4 +1,5 @@
import { $ } from "bun"
import { realpathSync } from "fs"
import os from "os"
import path from "path"
@ -17,7 +18,7 @@ export async function tmpdir<T>(options?: TmpDirOptions<T>) {
await options?.dispose?.(dirpath)
await $`rm -rf ${dirpath}`.quiet()
},
path: dirpath,
path: realpathSync(dirpath),
extra: extra as T,
}
return result