From f81e132e0e91562c349724c2e68951056cabfcb4 Mon Sep 17 00:00:00 2001 From: Arvid Lunnemark Date: Fri, 12 Aug 2022 20:13:49 +0000 Subject: [PATCH] fix things --- gui/src/main/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/src/main/main.ts b/gui/src/main/main.ts index 609221e3..970f5fe4 100644 --- a/gui/src/main/main.ts +++ b/gui/src/main/main.ts @@ -164,7 +164,7 @@ async function startDaemonIfNeeded(pkgPath: string): Promise { process.env["APPDIR"], "resources", "x64", - "anysphered" + "anysphere" ); const mkdir = await exec(`mkdir -p ${getConfigDir()}`); if (mkdir.stderr) { @@ -177,7 +177,7 @@ async function startDaemonIfNeeded(pkgPath: string): Promise { console.error(cpdaemon.stderr); } const cpclient = await exec( - `cp ${daemonPath} ${path.join(getConfigDir(), "anysphere")}` + `cp ${cliPath} ${path.join(getConfigDir(), "anysphere")}` ); if (cpclient.stderr) { console.error(cpclient.stderr);