Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

chore: update setting copy

Richie McIlroy04b4b7cb6a5d
diff --git a/apps/desktop/src/routes/(window-chrome)/settings/general.tsx b/apps/desktop/src/routes/(window-chrome)/settings/general.tsx
index ccbfe9193..f5f28d9ce 100644
--- a/apps/desktop/src/routes/(window-chrome)/settings/general.tsx
+++ b/apps/desktop/src/routes/(window-chrome)/settings/general.tsx
@@ -32,6 +32,12 @@ const settingsList = [
description:
"When enabled, a shareable link will be created automatically after stopping the recording. You'll be redirected to the URL while the upload continues in the background.",
},
+ {
+ key: "disable_auto_open_links",
+ label: "Cap Pro: Disable automatic link opening",
+ description:
+ "When enabled, Cap will not automatically open links in your browser (e.g. after creating a shareable link).",
+ },
{
key: "enable_notifications",
label: "Enable System Notifications",
@@ -39,12 +45,6 @@ const settingsList = [
"Show system notifications for events like copying to clipboard, saving files, and more. You may need to manually allow Cap access via your system's notification settings.",
requiresPermission: true,
},
- {
- key: "disable_auto_open_links",
- label: "Disable automatic link opening",
- description:
- "When enabled, Cap will not automatically open links in your browser (e.g. after creating a shareable link).",
- },
];
export default function GeneralSettings() {
diff --git a/apps/desktop/src/utils/tauri.ts b/apps/desktop/src/utils/tauri.ts
index 40fa7ccff..86c7dbd3f 100644
--- a/apps/desktop/src/utils/tauri.ts
+++ b/apps/desktop/src/utils/tauri.ts
@@ -392,7 +392,7 @@ export type CursorType = "pointer" | "circle"
export type Display = { path: string }
export type EditorStateChanged = { playhead_position: number }
export type Flags = { recordMouse: boolean; split: boolean; pauseResume: boolean; zoom: boolean }
-export type GeneralSettingsStore = { upload_individual_files?: boolean; open_editor_after_recording?: boolean; hide_dock_icon?: boolean; auto_create_shareable_link?: boolean; enable_notifications?: boolean }
+export type GeneralSettingsStore = { upload_individual_files?: boolean; open_editor_after_recording?: boolean; hide_dock_icon?: boolean; auto_create_shareable_link?: boolean; enable_notifications?: boolean; disable_auto_open_links?: boolean }
export type Hotkey = { code: string; meta: boolean; ctrl: boolean; alt: boolean; shift: boolean }
export type HotkeyAction = "startRecording" | "stopRecording" | "restartRecording" | "takeScreenshot"
export type HotkeysConfiguration = { show: boolean }