mirror of
https://github.com/morluto/rea.git
synced 2026-11-06 06:46:10 +00:00
fix(setup): preserve client config symlinks
This commit is contained in:
1 parent
528c05e2fa
commit
df87544a5d
7 files changed
+278
-25
No files matched your search
@@ -5,8 +5,10 @@ import type {
|
||||
} from "./Setup.js";
|
||||
|
||||
const failedConfigurationMessage = (
|
||||
reason: "backup" | "write" | "readback",
|
||||
reason: "path" | "backup" | "write" | "readback",
|
||||
): string => {
|
||||
if (reason === "path")
|
||||
return "Agent configuration path could not be safely verified. Check its permissions and, if it is a symbolic link, verify that the link resolves to a regular file owned by the current user, then rerun setup.";
|
||||
if (reason === "backup")
|
||||
return "Agent configuration could not be backed up, so no change was made. Check file permissions, then rerun setup.";
|
||||
if (reason === "write")
|
||||
|
||||
Reference in new issue
Block a user