Files
cutThink_lite/src-tauri/tauri.conf.json
Claude 39031bda68 fix: migrate to Tauri v2 and fix compilation errors
- Update @tauri-apps/api and @tauri-apps/cli to v2.1.0
- Fix API imports: @tauri-apps/api/core (instead of tauri)
- Add Emitter trait import for event emission
- Export ClassifierConfig from ai module
- Fix private field access: use data_dir() instead of config_dir
- Add serde::Deserialize to AiResult struct
- Fix base64 encoding: use BASE64 Engine API
- Simplify tauri.conf.json for v2 compatibility
- Fix Shortcut::new() call for hotkey module

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-12 20:08:26 +08:00

74 lines
1.8 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "CutThenThink Lite",
"version": "0.1.0",
"identifier": "com.cutthenthink.app",
"build": {
"frontendDist": "../dist",
"devUrl": "http://localhost:5173",
"beforeDevCommand": "npm run dev",
"beforeBuildCommand": "npm run build"
},
"app": {
"windows": [
{
"title": "CutThenThink Lite",
"width": 800,
"height": 600,
"resizable": true,
"fullscreen": false,
"minWidth": 600,
"minHeight": 400
}
],
"security": {
"csp": null
},
"withGlobalTauri": true
},
"bundle": {
"active": true,
"targets": "all",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"publisher": "CutThenThink",
"copyright": "Copyright © 2025 CutThenThink",
"category": "Productivity",
"shortDescription": "Lightweight screenshot and annotation tool",
"longDescription": "CutThenThink Lite is a lightweight screenshot capture and annotation tool designed for quick visual communication. Perfect for creating tutorials, reporting bugs, or sharing ideas visually.",
"createUpdaterArtifacts": true,
"linux": {
"deb": {
"depends": []
},
"appimage": {
"bundleMediaFramework": false
}
},
"macOS": {
"frameworks": [],
"minimumSystemVersion": "10.13",
"entitlements": null,
"exceptionDomain": "",
"signingIdentity": null,
"providerShortName": null
},
"windows": {
"certificateThumbprint": null,
"digestAlgorithm": "sha256",
"timestampUrl": "",
"wix": {
"language": ["en-US", "zh-CN"]
},
"webviewInstallMode": {
"type": "embedBootstrapper"
}
}
}
}