wip: desktop work
This commit is contained in:
parent
59b5f53509
commit
fe8f6d7a3e
8 changed files with 350 additions and 72 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue