diff --git a/apps/stage-tamagotchi/locales/en.yml b/apps/stage-tamagotchi/locales/en.yml index 2951817d0..41fe86ddc 100644 --- a/apps/stage-tamagotchi/locales/en.yml +++ b/apps/stage-tamagotchi/locales/en.yml @@ -55,6 +55,9 @@ settings: chinese: 简体中文 english: English title: Language + allow-visible-on-all-workspaces: + title: Cross-Space Visibility + description: Allow the window to be visible on all workspaces, macOS only. live2d: change-model: from-file: Load from File diff --git a/apps/stage-tamagotchi/locales/zh-CN.yml b/apps/stage-tamagotchi/locales/zh-CN.yml index 8517e7aac..b0d99779c 100644 --- a/apps/stage-tamagotchi/locales/zh-CN.yml +++ b/apps/stage-tamagotchi/locales/zh-CN.yml @@ -41,6 +41,9 @@ settings: chinese: 简体中文 english: English title: 语言 + allow-visible-on-all-workspaces: + title: 跨桌面可见性 + description: 允许窗口在所有虚拟桌面中可见,仅限 macOS。 live2d: change-model: from-file: 从文件加载 diff --git a/apps/stage-tamagotchi/src-tauri/capabilities/default.json b/apps/stage-tamagotchi/src-tauri/capabilities/default.json index e59b418ad..5d967b783 100644 --- a/apps/stage-tamagotchi/src-tauri/capabilities/default.json +++ b/apps/stage-tamagotchi/src-tauri/capabilities/default.json @@ -14,6 +14,7 @@ "core:window:allow-start-dragging", "core:window:allow-set-focus", "core:window:allow-set-minimizable", + "core:window:allow-set-visible-on-all-workspaces", "mcp:default", "global-shortcut:allow-is-registered", "global-shortcut:allow-register", diff --git a/apps/stage-tamagotchi/src/App.vue b/apps/stage-tamagotchi/src/App.vue index 1fc647b3d..07a078a64 100644 --- a/apps/stage-tamagotchi/src/App.vue +++ b/apps/stage-tamagotchi/src/App.vue @@ -1,15 +1,17 @@