mirror of
https://github.com/trycua/computer.git
synced 2026-01-04 04:19:57 -06:00
changed dir to .cua
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"lockfileVersion": 1,
|
||||
"configVersion": 0,
|
||||
"workspaces": {
|
||||
"": {
|
||||
"name": "cua-cli",
|
||||
|
||||
@@ -5,7 +5,7 @@ export const CALLBACK_HOST = "127.0.0.1";
|
||||
|
||||
export function getConfigDir(): string {
|
||||
const home = Bun.env.HOME || Bun.env.USERPROFILE || ".";
|
||||
const dir = `${home}/.config/cua`;
|
||||
const dir = `${home}/.cua`;
|
||||
try {
|
||||
Bun.spawnSync(["mkdir", "-p", dir]);
|
||||
} catch {}
|
||||
|
||||
Reference in New Issue
Block a user