fix(profiles): update terminal command for copying based on profile name
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -127,7 +127,7 @@ export default function ProfilesPage() {
|
||||
};
|
||||
|
||||
const handleCopyTerminalCommand = async (name: string) => {
|
||||
const cmd = `hermes -p ${name}`;
|
||||
const cmd = name === "default" ? "hermes setup" : `${name} setup`;
|
||||
try {
|
||||
await navigator.clipboard.writeText(cmd);
|
||||
showToast(`${t.profiles.commandCopied}: ${cmd}`, "success");
|
||||
|
||||
Reference in New Issue
Block a user