{
	"$schema": "../../../node_modules/@tauri-apps/cli/schema.json",
	"build": {
		"beforeBuildCommand": "pnpm build",
		"beforeDevCommand": "pnpm dev",
		"devPath": "http://localhost:8080",
		"distDir": "../build"
	},
	"package": {
		"productName": "tea",
		"version": "0.1.0"
	},
	"tauri": {
		"allowlist": {
			"http": {
				"all": true,
				"request": true,
				"scope": ["https://api.tea.xyz/v1/*", "https://github.com/*", "http://localhost:3000/v1/*", "https://app.tea.xyz/*"]
			},
			"shell": {
				"all": true,
				"execute": true,
				"open": true,
				"scope": [
					{
						"name": "tea-install",
						"cmd": "tea",
						"args": [{ "validator": "\\S+" }, "true"]
					},
					{
						"name": "node",
						"cmd": "node",
						"args": ["--version"]
					},
					{
						"name": "list-packages",
						"cmd": "ls",
						"args": ["-R ~/.tea/tea.xyz/var/www | grep 'xz\\|gz'"]
					},
					{
						"name": "open",
						"cmd": "open",
						"args": ["-a iterm"]
					}
				],
				"sidecar": false
			},
			"window": {
				"all": true,
				"center": true,
				"close": true,
				"create": true,
				"hide": true,
				"maximize": true,
				"minimize": true,
				"print": true,
				"requestUserAttention": true,
				"setAlwaysOnTop": true,
				"setCursorGrab": true,
				"setCursorIcon": true,
				"setCursorPosition": true,
				"setCursorVisible": true,
				"setDecorations": true,
				"setFocus": true,
				"setFullscreen": true,
				"setIcon": true,
				"setIgnoreCursorEvents": true,
				"setMaxSize": true,
				"setMinSize": true,
				"setPosition": true,
				"setResizable": true,
				"setSize": true,
				"setSkipTaskbar": true,
				"setTitle": true,
				"show": true,
				"startDragging": true,
				"unmaximize": true,
				"unminimize": true
			},
			"fs": {
				"readDir": true,
				"createDir": true,
				"writeFile": true,
				"readFile": true,
				"scope": [
					"$HOME/.tea/**",
					"$HOME/.tea"
				]
			},
			"path": {
				"all": true
			}
		},
		"bundle": {
			"active": true,
			"category": "DeveloperTool",
			"copyright": "",
			"deb": {
				"depends": []
			},
			"externalBin": [],
			"icon": [
				"icons/32x32.png",
				"icons/128x128.png",
				"icons/128x128@2x.png",
				"icons/icon.icns",
				"icons/icon.ico"
			],
			"identifier": "com.tea.xyz",
			"longDescription": "",
			"macOS": {
				"entitlements": null,
				"exceptionDomain": "",
				"frameworks": [],
				"providerShortName": null,
				"signingIdentity": null
			},
			"resources": [],
			"shortDescription": "",
			"targets": "all",
			"windows": {
				"certificateThumbprint": null,
				"digestAlgorithm": "sha256",
				"timestampUrl": ""
			}
		},
		"security": {
			"csp": null
		},
		"updater": {
			"active": false
		},
		"windows": [
			{
				"fullscreen": false,
				"height": 600,
				"resizable": true,
				"title": "tea",
				"width": 1200,
				"decorations": true
			}
		]
	}
}
