fix(stage-tamagotchi): icon

This commit is contained in:
Neko Ayaka
2025-10-06 14:57:49 +08:00
parent e2b07c565e
commit 6cfc9c8ee0
12 changed files with 381 additions and 666 deletions
+6 -6
View File
@@ -44,10 +44,10 @@
"@proj-airi/ui": "workspace:^",
"@ricky0123/vad-web": "^0.0.28",
"@stdlib/string-base-kebabcase": "^0.2.2",
"@tresjs/cientos": "^5.0.0",
"@tresjs/core": "^5.0.2",
"@types/audioworklet": "^0.0.86",
"@unbird/eventa": "^0.0.11",
"@tresjs/cientos": "^5.0.1",
"@tresjs/core": "^5.0.3",
"@types/audioworklet": "^0.0.87",
"@unbird/eventa": "^0.1.2",
"@vueuse/core": "^13.9.0",
"@vueuse/shared": "^13.9.0",
"@xsai-ext/providers-cloud": "catalog:",
@@ -112,7 +112,7 @@
"@iconify-json/lucide": "^1.2.68",
"@iconify-json/mingcute": "^1.2.5",
"@iconify-json/ph": "^1.2.2",
"@iconify-json/simple-icons": "^1.2.53",
"@iconify-json/simple-icons": "^1.2.54",
"@iconify-json/solar": "^1.2.4",
"@iconify-json/svg-spinners": "^1.2.4",
"@iconify-json/vscode-icons": "^1.2.30",
@@ -134,7 +134,7 @@
"@xsai-transformers/embed": "^0.0.7",
"cac": "^6.7.14",
"csstype": "^3.1.3",
"electron": "^38.2.0",
"electron": "^38.2.1",
"electron-builder": "^26.0.20",
"electron-vite": "^4.0.1",
"execa": "^9.6.0",
Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

+5 -4
View File
@@ -10,10 +10,11 @@ import { electronApp, is, optimizer } from '@electron-toolkit/utils'
import { Format, LogLevel, setGlobalFormat, setGlobalLogLevel } from '@guiiai/logg'
import { defineInvoke, defineInvokeHandler } from '@unbird/eventa'
import { createContext } from '@unbird/eventa/adapters/electron/main'
import { app, BrowserWindow, ipcMain, Menu, screen, shell, Tray } from 'electron'
import { app, BrowserWindow, ipcMain, Menu, nativeImage, screen, shell, Tray } from 'electron'
import { isMacOS } from 'std-env'
import icon from '../../resources/icon.png?asset'
import macOSTrayIcon from '../../resources/tray-icon-macos.png?asset'
import { electronCursorPoint, electronOpenSettings, electronStartTrackingCursorPoint } from '../shared/eventa'
@@ -46,8 +47,8 @@ let trackCursorPointInterval: NodeJS.Timeout | undefined
function createWindow(): void {
mainWindow = new BrowserWindow({
title: 'AIRI',
width: 916.0,
height: 1245.0,
width: 450.0,
height: 600.0,
show: false,
icon,
webPreferences: {
@@ -111,7 +112,7 @@ function createTray(): void {
}
// Create tray icon
appTray = new Tray(icon)
appTray = new Tray(nativeImage.createFromPath(macOSTrayIcon).resize({ width: 16 }))
// Define tray menu
const contextMenu = Menu.buildFromTemplate([
+6 -6
View File
@@ -36,9 +36,9 @@
"@ricky0123/vad-web": "^0.0.28",
"@standard-schema/spec": "^1.0.0",
"@stdlib/string-base-kebabcase": "^0.2.2",
"@tresjs/cientos": "^5.0.0",
"@tresjs/core": "^5.0.2",
"@unbird/eventa": "^0.0.11",
"@tresjs/cientos": "^5.0.1",
"@tresjs/core": "^5.0.3",
"@unbird/eventa": "^0.1.2",
"@valibot/to-json-schema": "1.0.0-rc.0",
"@vueuse/core": "^13.9.0",
"@vueuse/shared": "^13.9.0",
@@ -53,7 +53,7 @@
"@xsai/shared-chat": "catalog:",
"@xsai/stream-text": "catalog:",
"@xsai/utils-chat": "catalog:",
"animejs": "^4.2.0",
"animejs": "^4.2.1",
"colorjs.io": "^0.5.2",
"culori": "^4.0.2",
"date-fns": "^4.1.0",
@@ -97,7 +97,7 @@
"@iconify-json/eos-icons": "^1.2.4",
"@iconify-json/lucide": "^1.2.68",
"@iconify-json/mingcute": "^1.2.5",
"@iconify-json/simple-icons": "^1.2.53",
"@iconify-json/simple-icons": "^1.2.54",
"@iconify-json/solar": "^1.2.4",
"@iconify-json/svg-spinners": "^1.2.4",
"@iconify-json/vscode-icons": "^1.2.30",
@@ -106,7 +106,7 @@
"@proj-airi/unplugin-fetch": "^0.1.7",
"@proj-airi/unplugin-live2d-sdk": "^0.1.6",
"@shikijs/markdown-it": "^3.13.0",
"@types/audioworklet": "^0.0.86",
"@types/audioworklet": "^0.0.87",
"@types/culori": "^4.0.1",
"@types/nprogress": "^0.2.3",
"@types/three": "^0.180.0",
+1 -1
View File
@@ -44,7 +44,7 @@
"@types/markdown-it-anchor": "^7.0.0",
"@unocss/reset": "^66.5.2",
"@vue/tsconfig": "^0.8.1",
"animejs": "^4.2.0",
"animejs": "^4.2.1",
"fast-glob": "^3.3.3",
"gray-matter": "^4.0.3",
"markdown-it": "^14.1.0",
+2 -2
View File
@@ -49,8 +49,8 @@
"@unocss/preset-mini": "^66.5.2",
"@unocss/preset-web-fonts": "^66.5.2",
"@vitest/coverage-v8": "^3.2.4",
"bumpp": "^10.2.3",
"eslint": "^9.36.0",
"bumpp": "^10.3.1",
"eslint": "^9.37.0",
"execa": "^9.6.0",
"lint-staged": "^16.2.3",
"rollup": "^4.52.4",
+1 -1
View File
@@ -57,7 +57,7 @@
},
"devDependencies": {
"@moeru/std": "catalog:",
"@types/audioworklet": "^0.0.86",
"@types/audioworklet": "^0.0.87",
"vite": "^7.1.9"
}
}
+1 -1
View File
@@ -31,7 +31,7 @@
"@vueuse/shared": "^13.9.0",
"@xsai-ext/shared-providers": "catalog:",
"@xsai/generate-speech": "catalog:",
"animejs": "^4.2.0",
"animejs": "^4.2.1",
"dompurify": "^3.2.7",
"nanoid": "^5.1.6",
"node-vibrant": "^4.0.3",
+2 -2
View File
@@ -25,8 +25,8 @@
"@pixiv/three-vrm-animation": "^3.4.2",
"@pixiv/three-vrm-core": "^3.4.2",
"@proj-airi/tresjs": "workspace:*",
"@tresjs/cientos": "^5.0.0",
"@tresjs/core": "^5.0.2",
"@tresjs/cientos": "^5.0.1",
"@tresjs/core": "^5.0.3",
"@vueuse/core": "^13.9.0",
"culori": "^4.0.2",
"pinia": "^3.0.3",
+7 -7
View File
@@ -77,9 +77,9 @@
"@proj-airi/ui": "workspace:^",
"@ricky0123/vad-web": "^0.0.28",
"@shikijs/rehype": "^3.13.0",
"@tresjs/cientos": "^5.0.0",
"@tresjs/core": "^5.0.2",
"@tresjs/post-processing": "^2.4.0",
"@tresjs/cientos": "^5.0.1",
"@tresjs/core": "^5.0.3",
"@tresjs/post-processing": "^3.0.0",
"@vueuse/core": "^13.9.0",
"@vueuse/motion": "^3.0.3",
"@vueuse/shared": "^13.9.0",
@@ -96,7 +96,7 @@
"@xsai/shared-chat": "catalog:",
"@xsai/stream-text": "catalog:",
"@xsai/tool": "catalog:",
"animejs": "^4.2.0",
"animejs": "^4.2.1",
"culori": "^4.0.2",
"date-fns": "^4.1.0",
"dompurify": "^3.2.7",
@@ -145,13 +145,13 @@
"@iconify-json/eos-icons": "^1.2.4",
"@iconify-json/lucide": "^1.2.68",
"@iconify-json/mingcute": "^1.2.5",
"@iconify-json/simple-icons": "^1.2.53",
"@iconify-json/simple-icons": "^1.2.54",
"@iconify-json/solar": "^1.2.4",
"@iconify-json/svg-spinners": "^1.2.4",
"@iconify-json/vscode-icons": "^1.2.30",
"@moeru/std": "catalog:",
"@proj-airi/lobe-icons": "^1.0.12",
"@types/audioworklet": "^0.0.86",
"@types/audioworklet": "^0.0.87",
"@types/culori": "^4.0.1",
"@types/three": "^0.180.0",
"@unocss/reset": "^66.5.2",
@@ -162,7 +162,7 @@
"unocss": "^66.5.2",
"unplugin-info": "^1.2.4",
"unplugin-yaml": "^3.0.6",
"vite": "^6.3.6",
"vite": "^7.1.9",
"vue": "^3.5.22"
}
}
+349 -635
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -49,7 +49,7 @@
"drizzle-orm": "^0.44.6",
"es-toolkit": "^1.39.10",
"fluent-ffmpeg": "^2.1.3",
"grammy": "^1.38.2",
"grammy": "^1.38.3",
"nanoid": "^5.1.6",
"p-limit": "^7.1.1",
"pg": "^8.16.3",