mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-19 08:31:35 +03:00
8d16a80d2f
* refactor(core): capabilities must be referenced on the Tauri config file * add all capabilities by default * feat(codegen): allow defining additional capabilities, closes #8798 * undo example * lint * move add_capability to runtime authority * add change files * go through code review * fix tests * remove tokens option
38 lines
783 B
JSON
38 lines
783 B
JSON
{
|
|
"productName": "{{ app_name }}",
|
|
"version": "0.1.0",
|
|
"identifier": "com.tauri.dev",
|
|
"build": {
|
|
"frontendDist": "{{ frontend_dist }}",
|
|
"devUrl": "{{ dev_url }}",
|
|
"beforeDevCommand": "{{ before_dev_command }}",
|
|
"beforeBuildCommand": "{{ before_build_command }}"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"title": "{{ window_title }}",
|
|
"width": 800,
|
|
"height": 600,
|
|
"resizable": true,
|
|
"fullscreen": false
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": null,
|
|
"capabilities": ["default-plugins"]
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
]
|
|
}
|
|
}
|