feat: 初始化项目基础架构和核心功能

添加项目基础文件结构,包括Tauri配置、前端框架和核心功能模块
实现WebGPU渲染器基础、纹理管理和着色器
添加UI组件包括标题栏、确认对话框、帮助窗口等
设置状态管理存储和工具函数
配置构建工具和开发环境
This commit is contained in:
2025-12-19 16:22:27 +08:00
commit f5b8a563cb
73 changed files with 21514 additions and 0 deletions

42
src-tauri/tauri.conf.json Normal file
View File

@@ -0,0 +1,42 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "RefVroid",
"version": "0.1.0",
"identifier": "com.refvroid.app",
"build": {
"beforeDevCommand": "pnpm dev",
"devUrl": "http://localhost:1420",
"beforeBuildCommand": "pnpm build",
"frontendDist": "../dist"
},
"app": {
"windows": [
{
"title": "RefVroid",
"width": 1280,
"height": 720,
"resizable": true,
"decorations": false,
"transparent": false,
"alwaysOnTop": false,
"dragDropEnabled": true,
"backgroundColor": [25, 25, 25, 255]
}
],
"security": {
"csp": null
}
},
"bundle": {
"active": true,
"targets": ["msi"],
"icon": [
"icons/icon.png",
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
]
}
}