2021-02-05 03:12:03 +03:00
|
|
|
{
|
|
|
|
"build": {
|
|
|
|
"distDir": "../public",
|
2021-02-12 03:50:39 +03:00
|
|
|
"devPath": "http://localhost:5000",
|
2021-02-21 06:19:21 +03:00
|
|
|
"beforeDevCommand": "yarn dev",
|
|
|
|
"beforeBuildCommand": "yarn build"
|
2021-02-05 03:12:03 +03:00
|
|
|
},
|
|
|
|
"tauri": {
|
|
|
|
"cli": {
|
2021-02-21 19:48:08 +03:00
|
|
|
"description": "Tauri API example",
|
2021-02-05 03:12:03 +03:00
|
|
|
"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,
|
2021-02-21 19:48:08 +03:00
|
|
|
"identifier": "com.tauri.api",
|
2021-02-05 03:12:03 +03:00
|
|
|
"icon": [
|
|
|
|
"icons/32x32.png",
|
|
|
|
"icons/128x128.png",
|
|
|
|
"icons/128x128@2x.png",
|
|
|
|
"icons/icon.icns",
|
|
|
|
"icons/icon.ico"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"allowlist": {
|
|
|
|
"all": true
|
|
|
|
},
|
2021-02-16 07:23:15 +03:00
|
|
|
"windows": [
|
|
|
|
{
|
|
|
|
"title": "Tauri API Validation"
|
|
|
|
}
|
|
|
|
],
|
2021-02-05 03:12:03 +03:00
|
|
|
"security": {
|
|
|
|
"csp": "default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|