mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-16 23:22:26 +03:00
c88838aa76
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
69 lines
1.5 KiB
JSON
69 lines
1.5 KiB
JSON
{
|
|
"build": {
|
|
"distDir": "../public",
|
|
"devPath": "http://localhost:5000",
|
|
"beforeDevCommand": "yarn dev",
|
|
"beforeBuildCommand": "yarn build"
|
|
},
|
|
"tauri": {
|
|
"cli": {
|
|
"description": "Tauri API example",
|
|
"args": [
|
|
{
|
|
"short": "c",
|
|
"name": "config",
|
|
"takesValue": true,
|
|
"description": "Config path"
|
|
},
|
|
{
|
|
"short": "t",
|
|
"name": "theme",
|
|
"takesValue": true,
|
|
"description": "App theme",
|
|
"possibleValues": ["light", "dark", "system"]
|
|
},
|
|
{
|
|
"short": "v",
|
|
"name": "verbose",
|
|
"multipleOccurrences": true,
|
|
"description": "Verbosity level"
|
|
}
|
|
],
|
|
"subcommands": {
|
|
"update": {
|
|
"description": "Updates the app",
|
|
"args": [
|
|
{
|
|
"short": "b",
|
|
"name": "background",
|
|
"description": "Update in background"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"identifier": "com.tauri.api",
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
]
|
|
},
|
|
"allowlist": {
|
|
"all": true
|
|
},
|
|
"windows": [
|
|
{
|
|
"title": "Tauri API Validation"
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": "default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline'"
|
|
}
|
|
}
|
|
}
|