Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
26 lines
969 B
Diff
26 lines
969 B
Diff
diff --git a/src/client/client.ts b/src/client/client.ts
|
|
index 3e1747e..a842534 100644
|
|
--- a/src/client/client.ts
|
|
+++ b/src/client/client.ts
|
|
@@ -250,6 +250,7 @@ class Client {
|
|
}
|
|
|
|
public async isCLIInstalled(): Promise<Result<boolean>> {
|
|
+ return Return.Value(true);
|
|
try {
|
|
// we're in a flatpak, we need to check in other paths.
|
|
if (import.meta.env.TAURI_IS_FLATPAK === "true") {
|
|
diff --git a/src/components/useInstallCLI.tsx b/src/components/useInstallCLI.tsx
|
|
index ba3be79..ad25f3f 100644
|
|
--- a/src/components/useInstallCLI.tsx
|
|
+++ b/src/components/useInstallCLI.tsx
|
|
@@ -77,7 +77,7 @@ export function useInstallCLI() {
|
|
variant="outline"
|
|
isLoading={isLoading}
|
|
onClick={() => addBinaryToPath({})}
|
|
- isDisabled={status === "success"}>
|
|
+ isDisabled={true}>
|
|
Add CLI to Path
|
|
</Button>
|
|
<AlertDialog isOpen={isOpen} onClose={onClose} leastDestructiveRef={cancelRef}>
|