2021-02-05 03:12:03 +03:00
|
|
|
{
|
|
|
|
"build": {
|
|
|
|
"distDir": "../public",
|
2021-04-06 07:15:53 +03:00
|
|
|
"devPath": "../public",
|
2021-02-21 06:19:21 +03:00
|
|
|
"beforeDevCommand": "yarn dev",
|
|
|
|
"beforeBuildCommand": "yarn build"
|
2021-02-05 03:12:03 +03:00
|
|
|
},
|
2021-03-23 03:51:23 +03:00
|
|
|
"package": {
|
|
|
|
"productName": "Tauri API",
|
|
|
|
"version": "0.1.0"
|
|
|
|
},
|
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",
|
2021-04-06 07:15:53 +03:00
|
|
|
"possibleValues": [
|
|
|
|
"light",
|
|
|
|
"dark",
|
|
|
|
"system"
|
|
|
|
]
|
2021-02-05 03:12:03 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"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"
|
|
|
|
]
|
|
|
|
},
|
2021-04-05 20:51:17 +03:00
|
|
|
"updater": {
|
|
|
|
"active": true,
|
|
|
|
"dialog": false,
|
|
|
|
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDE5QzMxNjYwNTM5OEUwNTgKUldSWTRKaFRZQmJER1h4d1ZMYVA3dnluSjdpN2RmMldJR09hUFFlZDY0SlFqckkvRUJhZDJVZXAK",
|
|
|
|
"endpoints": [
|
|
|
|
"https://tauri-update-server.vercel.app/update/{{target}}/{{current_version}}"
|
|
|
|
]
|
|
|
|
},
|
2021-02-05 03:12:03 +03:00
|
|
|
"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'"
|
|
|
|
}
|
|
|
|
}
|
2021-04-06 07:15:53 +03:00
|
|
|
}
|