diff --git a/src/main/utils/template.ts b/src/main/utils/template.ts
index 9e5156f..6e50d55 100644
--- a/src/main/utils/template.ts
+++ b/src/main/utils/template.ts
@@ -26,6 +26,7 @@ export const defaultConfig: IAppConfig = {
floatingWindowCompatMode: true,
disableHardwareAcceleration: false,
disableLoopbackDetector: false,
+ hideConnectionCardWave: false,
disableEmbedCA: false,
disableSystemCA: false,
skipSafePathCheck: false,
diff --git a/src/renderer/src/components/settings/general-config.tsx b/src/renderer/src/components/settings/general-config.tsx
index 252dabc..fa1df54 100644
--- a/src/renderer/src/components/settings/general-config.tsx
+++ b/src/renderer/src/components/settings/general-config.tsx
@@ -64,7 +64,8 @@ const GeneralConfig: React.FC = () => {
autoCheckUpdate,
appTheme = 'system',
language = 'zh-CN',
- triggerMainWindowBehavior = 'show' // 添加这一行
+ triggerMainWindowBehavior = 'show',
+ hideConnectionCardWave = false
} = appConfig || {}
useEffect(() => {
@@ -412,6 +413,15 @@ const GeneralConfig: React.FC = () => {
+
+ {
+ await patchAppConfig({ hideConnectionCardWave: v })
+ }}
+ />
+
= (props) => {
const { iconOnly } = props
const { appConfig } = useAppConfig()
- const { showTraffic = false, connectionCardStatus = 'col-span-2', disableAnimations = false } = appConfig || {}
+ const { showTraffic = false, connectionCardStatus = 'col-span-2', disableAnimations = false, hideConnectionCardWave = false } = appConfig || {}
const location = useLocation()
const navigate = useNavigate()
const match = location.pathname.includes('/connections')
@@ -224,9 +224,11 @@ const ConnCard: React.FC = (props) => {
-
-
-
+ {!hideConnectionCardWave && (
+
+
+
+ )}
>
) : (