{
    "$schema": "https://schema.tauri.app/config/2",
    "productName": "Pywinauto MCP",
    "version": "0.7.0",
    "identifier": "ai.fleet.pywinauto-mcp",
    "build": {
        "frontendDist": "../web_sota/dist",
        "beforeDevCommand": "npm --prefix ../web_sota run dev"
    },
    "app": {
        "windows": [
            {
                "label": "main",
                "title": "Pywinauto MCP",
                "width": 1280,
                "height": 860,
                "resizable": true,
                "minWidth": 700,
                "minHeight": 500
            }
        ],
        "security": {
            "csp": "default-src 'self'; connect-src 'self' http://127.0.0.1:10789 https://tauri.localhost http://tauri.localhost tauri://localhost ipc: http://ipc.localhost; img-src 'self' data: http://127.0.0.1:10789; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline'"
        }
    },
    "bundle": {
        "active": true,
        "targets": ["nsis"],
        "icon": ["icons/icon.png", "icons/icon.ico"],
        "resources": [
            "resources/pywinauto-mcp-backend.exe",
            "resources/.env.example"
        ],
        "windows": {
            "webviewInstallMode": {
                "type": "skip"
            },
            "nsis": {
                "installerHooks": "./windows/hooks.nsh",
                "installMode": "currentUser"
            }
        }
    },
    "plugins": {}
}
