{
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
"productName": "TypeVault",
"version": "0.9.0",
"identifier": "com.buyike.typevault",
"build": {
"frontendDist": "../dist",
"devUrl": "http://localhost:5173",
"beforeDevCommand": "pnpm dev",
"beforeBuildCommand": "pnpm build"
},
"app": {
"windows": [
{
"title": "字匣 TypeVault",
"width": 630,
"height": 690,
"minWidth": 290,
"minHeight": 648,
"x": 50,
"y": 50,
"resizable": true,
"fullscreen": false,
"decorations": false,
"center": false,
"backgroundColor": "#fafafa",
"devtools": true
}
],
"security": {
"csp": "default-src 'self'; img-src 'self' data: blob: asset: https:; style-src 'self' 'unsafe-inline'; script-src 'self'; font-src 'self' data: asset:; connect-src 'self'",
"assetProtocol": {
"enable": true,
"scope": [
"**/*",
"$HOME/**/*",
"$HOME/.local/share/**/*",
"$HOME/.local/share/fonts/**/*",
"$HOME/.fonts/**/*",
"/usr/**/*",
"/usr/share/fonts/**/*",
"/home/**/*",
"**/.local/share/**/*",
"**/.fonts/**/*"
]
}
}
},
"bundle": {
"active": true,
"targets": ["deb", "msi"],
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"shortDescription": "A local font management tool - 本地字体管理工具",
"longDescription": "TypeVault is a free and open-source local font management tool. TypeVault字匣是一款专注本地字体管理的免费开源软件。具有智能管理、设计适配、纯净安全等特点。",
"category": "Utility",
"linux": {
"deb": {
"depends": ["libwebkit2gtk-4.1-0", "libgtk-3-0", "fontconfig"]
}
},
"windows": {
"nsis": {
"installMode": "currentUser",
"displayLanguageSelector": true
}
}
}
}