mirror of
https://github.com/lobehub/lobehub
synced 2026-04-21 17:47:27 +00:00
🐛 fix: fix desktop open issue on linux like Fedora42 (#7883)
* fix gtk version * fix gtk version * fix lint
This commit is contained in:
parent
4ebd143bcf
commit
5b0154f3d1
3 changed files with 78 additions and 77 deletions
|
|
@ -186,6 +186,10 @@ export class App {
|
|||
}
|
||||
});
|
||||
|
||||
// refs: https://github.com/lobehub/lobe-chat/pull/7883
|
||||
// https://github.com/electron/electron/issues/46538#issuecomment-2808806722
|
||||
app.commandLine.appendSwitch('gtk-version', '3');
|
||||
|
||||
app.commandLine.appendSwitch('enable-features', this.chromeFlags.join(','));
|
||||
|
||||
logger.debug('Waiting for app to be ready');
|
||||
|
|
|
|||
148
package.json
148
package.json
|
|
@ -123,24 +123,24 @@
|
|||
"@ant-design/pro-components": "^2.8.7",
|
||||
"@anthropic-ai/sdk": "^0.51.0",
|
||||
"@auth/core": "^0.38.0",
|
||||
"@aws-sdk/client-bedrock-runtime": "^3.779.0",
|
||||
"@aws-sdk/client-s3": "^3.779.0",
|
||||
"@aws-sdk/s3-request-presigner": "^3.779.0",
|
||||
"@aws-sdk/client-bedrock-runtime": "^3.812.0",
|
||||
"@aws-sdk/client-s3": "^3.812.0",
|
||||
"@aws-sdk/s3-request-presigner": "^3.812.0",
|
||||
"@azure-rest/ai-inference": "1.0.0-beta.5",
|
||||
"@azure/core-auth": "^1.9.0",
|
||||
"@cfworker/json-schema": "^4.1.1",
|
||||
"@clerk/localizations": "^3.13.4",
|
||||
"@clerk/nextjs": "^6.12.12",
|
||||
"@clerk/themes": "^2.2.26",
|
||||
"@clerk/localizations": "^3.16.0",
|
||||
"@clerk/nextjs": "^6.19.4",
|
||||
"@clerk/themes": "^2.2.45",
|
||||
"@codesandbox/sandpack-react": "^2.20.0",
|
||||
"@cyntler/react-doc-viewer": "^1.17.0",
|
||||
"@electric-sql/pglite": "0.2.17",
|
||||
"@google-cloud/vertexai": "^1.9.3",
|
||||
"@google/generative-ai": "^0.24.0",
|
||||
"@google-cloud/vertexai": "^1.10.0",
|
||||
"@google/generative-ai": "^0.24.1",
|
||||
"@huggingface/inference": "^2.8.1",
|
||||
"@icons-pack/react-simple-icons": "9.6.0",
|
||||
"@khmyznikov/pwa-install": "0.3.9",
|
||||
"@langchain/community": "^0.3.38",
|
||||
"@langchain/community": "^0.3.43",
|
||||
"@lobechat/electron-client-ipc": "workspace:*",
|
||||
"@lobechat/electron-server-ipc": "workspace:*",
|
||||
"@lobechat/file-loaders": "workspace:*",
|
||||
|
|
@ -150,96 +150,96 @@
|
|||
"@lobehub/chat-plugins-gateway": "^1.9.0",
|
||||
"@lobehub/icons": "^2.0.0",
|
||||
"@lobehub/tts": "^2.0.1",
|
||||
"@lobehub/ui": "^2.1.3",
|
||||
"@modelcontextprotocol/sdk": "^1.11.0",
|
||||
"@lobehub/ui": "^2.1.6",
|
||||
"@modelcontextprotocol/sdk": "^1.11.4",
|
||||
"@neondatabase/serverless": "^1.0.0",
|
||||
"@next/third-parties": "^15.3.0",
|
||||
"@next/third-parties": "^15.3.2",
|
||||
"@react-spring/web": "^9.7.5",
|
||||
"@sentry/nextjs": "^7.120.3",
|
||||
"@serwist/next": "^9.0.12",
|
||||
"@serwist/next": "^9.0.14",
|
||||
"@t3-oss/env-nextjs": "^0.12.0",
|
||||
"@tanstack/react-query": "^5.71.3",
|
||||
"@trpc/client": "^11.0.1",
|
||||
"@trpc/next": "^11.0.1",
|
||||
"@trpc/react-query": "^11.0.1",
|
||||
"@trpc/server": "^11.0.1",
|
||||
"@tanstack/react-query": "^5.76.1",
|
||||
"@trpc/client": "^11.1.2",
|
||||
"@trpc/next": "^11.1.2",
|
||||
"@trpc/react-query": "^11.1.2",
|
||||
"@trpc/server": "^11.1.2",
|
||||
"@vercel/analytics": "^1.5.0",
|
||||
"@vercel/edge-config": "^1.4.0",
|
||||
"@vercel/functions": "^2.0.0",
|
||||
"@vercel/functions": "^2.1.0",
|
||||
"@vercel/speed-insights": "^1.2.0",
|
||||
"@xterm/xterm": "^5.5.0",
|
||||
"ahooks": "^3.8.4",
|
||||
"ahooks": "^3.8.5",
|
||||
"ai": "^3.4.33",
|
||||
"antd": "^5.25.1",
|
||||
"antd": "^5.25.2",
|
||||
"antd-style": "^3.7.1",
|
||||
"brotli-wasm": "^3.0.1",
|
||||
"chroma-js": "^3.1.2",
|
||||
"countries-and-timezones": "^3.7.2",
|
||||
"countries-and-timezones": "^3.8.0",
|
||||
"dayjs": "^1.11.13",
|
||||
"debug": "^4.4.0",
|
||||
"debug": "^4.4.1",
|
||||
"dexie": "^3.2.7",
|
||||
"diff": "^7.0.0",
|
||||
"drizzle-orm": "^0.41.0",
|
||||
"drizzle-zod": "^0.5.1",
|
||||
"epub2": "^3.0.2",
|
||||
"fast-deep-equal": "^3.1.3",
|
||||
"file-type": "^20.4.1",
|
||||
"framer-motion": "^12.6.3",
|
||||
"file-type": "^20.5.0",
|
||||
"framer-motion": "^12.12.1",
|
||||
"gpt-tokenizer": "^2.9.0",
|
||||
"html-to-text": "^9.0.5",
|
||||
"i18next": "^24.2.3",
|
||||
"i18next-browser-languagedetector": "^8.0.4",
|
||||
"i18next-browser-languagedetector": "^8.1.0",
|
||||
"i18next-resources-to-backend": "^1.2.1",
|
||||
"idb-keyval": "^6.2.1",
|
||||
"idb-keyval": "^6.2.2",
|
||||
"immer": "^10.1.1",
|
||||
"jose": "^5.10.0",
|
||||
"js-sha256": "^0.11.0",
|
||||
"jsonl-parse-stringify": "^1.0.3",
|
||||
"keyv": "^4.5.4",
|
||||
"langchain": "^0.3.19",
|
||||
"langfuse": "^3.37.1",
|
||||
"langfuse-core": "^3.37.1",
|
||||
"langchain": "^0.3.26",
|
||||
"langfuse": "^3.37.2",
|
||||
"langfuse-core": "^3.37.2",
|
||||
"lodash-es": "^4.17.21",
|
||||
"lucide-react": "^0.509.0",
|
||||
"mammoth": "^1.9.0",
|
||||
"mdast-util-to-markdown": "^2.1.2",
|
||||
"modern-screenshot": "^4.6.0",
|
||||
"nanoid": "^5.1.5",
|
||||
"next": "^15.3.0",
|
||||
"next": "^15.3.2",
|
||||
"next-auth": "5.0.0-beta.25",
|
||||
"next-mdx-remote": "^5.0.0",
|
||||
"nextjs-toploader": "^3.8.16",
|
||||
"numeral": "^2.0.6",
|
||||
"nuqs": "^2.4.1",
|
||||
"nuqs": "^2.4.3",
|
||||
"officeparser": "^5.1.1",
|
||||
"oidc-provider": "^8.4.0",
|
||||
"ollama": "^0.5.14",
|
||||
"openai": "^4.91.1",
|
||||
"oidc-provider": "^8.8.1",
|
||||
"ollama": "^0.5.15",
|
||||
"openai": "^4.100.0",
|
||||
"openapi-fetch": "^0.9.8",
|
||||
"partial-json": "^0.1.7",
|
||||
"path-browserify-esm": "^1.0.6",
|
||||
"pdf-parse": "^1.1.1",
|
||||
"pdfjs-dist": "4.8.69",
|
||||
"pg": "^8.14.1",
|
||||
"pino": "^9.6.0",
|
||||
"pg": "^8.16.0",
|
||||
"pino": "^9.7.0",
|
||||
"plaiceholder": "^3.0.0",
|
||||
"polished": "^4.3.1",
|
||||
"posthog-js": "^1.234.6",
|
||||
"posthog-js": "^1.245.0",
|
||||
"pwa-install-handler": "^2.6.2",
|
||||
"query-string": "^9.1.1",
|
||||
"query-string": "^9.1.2",
|
||||
"random-words": "^2.0.1",
|
||||
"react": "^19.1.0",
|
||||
"react-confetti": "^6.4.0",
|
||||
"react-dom": "^19.1.0",
|
||||
"react-fast-marquee": "^1.6.5",
|
||||
"react-hotkeys-hook": "^4.6.1",
|
||||
"react-i18next": "^15.4.1",
|
||||
"react-hotkeys-hook": "^4.6.2",
|
||||
"react-i18next": "^15.5.1",
|
||||
"react-layout-kit": "^1.9.1",
|
||||
"react-lazy-load": "^4.0.1",
|
||||
"react-pdf": "^9.2.1",
|
||||
"react-rnd": "^10.5.2",
|
||||
"react-scan": "^0.3.3",
|
||||
"react-virtuoso": "^4.12.6",
|
||||
"react-scan": "^0.3.4",
|
||||
"react-virtuoso": "^4.12.7",
|
||||
"react-wrap-balancer": "^1.1.1",
|
||||
"remark": "^15.0.1",
|
||||
"remark-gfm": "^4.0.1",
|
||||
|
|
@ -247,12 +247,12 @@
|
|||
"request-filtering-agent": "^2.0.1",
|
||||
"resolve-accept-language": "^3.1.11",
|
||||
"rtl-detect": "^1.1.2",
|
||||
"semver": "^7.7.1",
|
||||
"semver": "^7.7.2",
|
||||
"sharp": "^0.33.5",
|
||||
"shiki": "^3.2.1",
|
||||
"shiki": "^3.4.2",
|
||||
"stripe": "^16.12.0",
|
||||
"superjson": "^2.2.2",
|
||||
"svix": "^1.63.0",
|
||||
"svix": "^1.65.0",
|
||||
"swr": "^2.3.3",
|
||||
"systemjs": "^6.15.1",
|
||||
"ts-md5": "^1.3.1",
|
||||
|
|
@ -262,24 +262,24 @@
|
|||
"use-merge-value": "^1.2.0",
|
||||
"utility-types": "^3.11.0",
|
||||
"uuid": "^11.1.0",
|
||||
"ws": "^8.18.1",
|
||||
"ws": "^8.18.2",
|
||||
"y-protocols": "^1.0.6",
|
||||
"y-webrtc": "^10.3.0",
|
||||
"yaml": "^2.7.1",
|
||||
"yjs": "^13.6.24",
|
||||
"zod": "^3.24.2",
|
||||
"zustand": "^5.0.3",
|
||||
"yaml": "^2.8.0",
|
||||
"yjs": "^13.6.27",
|
||||
"zod": "^3.25.7",
|
||||
"zustand": "^5.0.4",
|
||||
"zustand-utils": "^2.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^19.8.0",
|
||||
"@commitlint/cli": "^19.8.1",
|
||||
"@edge-runtime/vm": "^5.0.0",
|
||||
"@huggingface/tasks": "^0.15.9",
|
||||
"@lobehub/i18n-cli": "^1.20.3",
|
||||
"@lobehub/lint": "^1.26.1",
|
||||
"@lobehub/seo-cli": "^1.4.3",
|
||||
"@next/bundle-analyzer": "^15.3.0",
|
||||
"@next/eslint-plugin-next": "^15.3.0",
|
||||
"@next/bundle-analyzer": "^15.3.2",
|
||||
"@next/eslint-plugin-next": "^15.3.2",
|
||||
"@peculiar/webcrypto": "^1.5.0",
|
||||
"@semantic-release/exec": "^6.0.3",
|
||||
"@testing-library/jest-dom": "^6.6.3",
|
||||
|
|
@ -294,12 +294,12 @@
|
|||
"@types/json-schema": "^7.0.15",
|
||||
"@types/lodash": "^4.17.16",
|
||||
"@types/lodash-es": "^4.17.12",
|
||||
"@types/node": "^22.13.17",
|
||||
"@types/node": "^22.15.19",
|
||||
"@types/numeral": "^2.0.5",
|
||||
"@types/oidc-provider": "^8.8.1",
|
||||
"@types/pg": "^8.11.11",
|
||||
"@types/react": "^19.1.0",
|
||||
"@types/react-dom": "^19.1.1",
|
||||
"@types/pg": "^8.15.2",
|
||||
"@types/react": "^19.1.4",
|
||||
"@types/react-dom": "^19.1.5",
|
||||
"@types/rtl-detect": "^1.0.3",
|
||||
"@types/semver": "^7.7.0",
|
||||
"@types/systemjs": "^6.15.3",
|
||||
|
|
@ -307,35 +307,35 @@
|
|||
"@types/unist": "^3.0.3",
|
||||
"@types/uuid": "^10.0.0",
|
||||
"@types/ws": "^8.18.1",
|
||||
"@vitest/coverage-v8": "^3.1.1",
|
||||
"@vitest/coverage-v8": "^3.1.4",
|
||||
"ajv-keywords": "^5.1.0",
|
||||
"commitlint": "^19.8.0",
|
||||
"commitlint": "^19.8.1",
|
||||
"consola": "^3.4.2",
|
||||
"cross-env": "^7.0.3",
|
||||
"crypto-js": "^4.2.0",
|
||||
"dbdocs": "^0.14.3",
|
||||
"dotenv": "^16.4.7",
|
||||
"dbdocs": "^0.14.4",
|
||||
"dotenv": "^16.5.0",
|
||||
"dpdm-fast": "^1.0.7",
|
||||
"drizzle-dbml-generator": "^0.10.0",
|
||||
"drizzle-kit": "^0.30.6",
|
||||
"eslint": "^8.57.1",
|
||||
"eslint-plugin-mdx": "^3.3.1",
|
||||
"fake-indexeddb": "^6.0.0",
|
||||
"eslint-plugin-mdx": "^3.4.2",
|
||||
"fake-indexeddb": "^6.0.1",
|
||||
"fs-extra": "^11.3.0",
|
||||
"glob": "^11.0.1",
|
||||
"glob": "^11.0.2",
|
||||
"gray-matter": "^4.0.3",
|
||||
"happy-dom": "^17.4.4",
|
||||
"happy-dom": "^17.4.7",
|
||||
"husky": "^9.1.7",
|
||||
"just-diff": "^6.0.2",
|
||||
"lint-staged": "^15.5.0",
|
||||
"lint-staged": "^15.5.2",
|
||||
"lodash": "^4.17.21",
|
||||
"markdown-table": "^3.0.4",
|
||||
"markdown-to-txt": "^2.0.1",
|
||||
"mcp-hello-world": "^1.1.2",
|
||||
"mime": "^4.0.6",
|
||||
"mime": "^4.0.7",
|
||||
"node-fetch": "^3.3.2",
|
||||
"node-gyp": "^11.2.0",
|
||||
"openapi-typescript": "^7.6.1",
|
||||
"openapi-typescript": "^7.8.0",
|
||||
"p-map": "^7.0.3",
|
||||
"prettier": "^3.5.3",
|
||||
"remark-cli": "^12.0.1",
|
||||
|
|
@ -343,14 +343,14 @@
|
|||
"remark-mdx": "^3.1.0",
|
||||
"remark-parse": "^11.0.0",
|
||||
"semantic-release": "^21.1.2",
|
||||
"serwist": "^9.0.12",
|
||||
"serwist": "^9.0.14",
|
||||
"stylelint": "^15.11.0",
|
||||
"tsx": "^4.19.3",
|
||||
"typescript": "^5.8.2",
|
||||
"tsx": "^4.19.4",
|
||||
"typescript": "^5.8.3",
|
||||
"unified": "^11.0.5",
|
||||
"unist-util-visit": "^5.0.0",
|
||||
"vite": "^5.4.16",
|
||||
"vitest": "^3.1.1",
|
||||
"vite": "^5.4.19",
|
||||
"vitest": "^3.1.4",
|
||||
"vitest-canvas-mock": "^0.3.3"
|
||||
},
|
||||
"packageManager": "pnpm@10.10.0",
|
||||
|
|
|
|||
|
|
@ -85,9 +85,6 @@ const ErrorResult = memo<FailedModalProps>(({ children }) => {
|
|||
onCancel={() => {
|
||||
setOpen(false);
|
||||
}}
|
||||
onClose={() => {
|
||||
setOpen(false);
|
||||
}}
|
||||
open={open}
|
||||
title={t('clientDB.error.title')}
|
||||
>
|
||||
|
|
|
|||
Loading…
Reference in a new issue