Skip to content

Commit

Permalink
fix things
Browse files Browse the repository at this point in the history
  • Loading branch information
arvid220u committed Aug 12, 2022
1 parent df404ab commit f81e132
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gui/src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ async function startDaemonIfNeeded(pkgPath: string): Promise<void> {
process.env["APPDIR"],
"resources",
"x64",
"anysphered"
"anysphere"
);
const mkdir = await exec(`mkdir -p ${getConfigDir()}`);
if (mkdir.stderr) {
Expand All @@ -177,7 +177,7 @@ async function startDaemonIfNeeded(pkgPath: string): Promise<void> {
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);
Expand Down

0 comments on commit f81e132

Please sign in to comment.