diff --git a/README.md b/README.md index 02e30016..d867562d 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ - [x] 实现应用搜索 - [ ] 切换分类时默认不应用搜索,需按下回车键才应用搜索 - [ ] 修改UI,使其更美观(考虑换成如shadcn等组件库) +- [ ] 实现URL Shceme协议支持 ## 📦 关于 APM diff --git a/extras/shell-caller.sh b/extras/shell-caller.sh index ade8ab1e..84140dd3 100755 --- a/extras/shell-caller.sh +++ b/extras/shell-caller.sh @@ -12,16 +12,8 @@ if [[ "$1" != "apm" ]]; then exit 1 fi -# 检查 apm 命令是否存在 -if ! command -v apm &>/dev/null; then - echo "apm 命令未找到,请确保已安装 APM 环境" - exit 127 -fi - # 执行 apm 命令(跳过第一个参数 "apm") -output=$(/usr/bin/apm "${@:2}" 2>&1) +/usr/bin/apm "${@:2}" 2>&1 exit_code=$? -echo "$output" - exit $exit_code \ No newline at end of file diff --git a/package.json b/package.json index 05384263..d300a12a 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,9 @@ "vue-tsc": "^3.2.4" }, "dependencies": { + "@tailwindcss/vite": "^4.1.18", "axios": "^1.13.2", - "pino": "^10.3.0" + "pino": "^10.3.0", + "tailwindcss": "^4.1.18" } } diff --git a/tsconfig.node.json b/tsconfig.node.json index ed1b5866..b4024653 100644 --- a/tsconfig.node.json +++ b/tsconfig.node.json @@ -2,7 +2,7 @@ "compilerOptions": { "composite": true, "module": "ESNext", - "moduleResolution": "Node", + "moduleResolution": "bundler", "resolveJsonModule": true, "allowSyntheticDefaultImports": true }, diff --git a/vite.config.ts b/vite.config.ts index e18afa37..be3cadee 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,6 +1,7 @@ import fs from 'node:fs' import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' +import tailwindcss from '@tailwindcss/vite' import electron from 'vite-plugin-electron/simple' import pkg from './package.json' @@ -61,6 +62,7 @@ export default defineConfig(({ command }) => { // See 👉 https://github.com/electron-vite/vite-plugin-electron-renderer renderer: {}, }), + tailwindcss(), ], server: (() => { if (process.env.VSCODE_DEBUG) {