2021-02-05 03:12:03 +03:00
|
|
|
{
|
2023-04-07 18:11:05 +03:00
|
|
|
"$schema": "../../../core/tauri-config-schema/schema.json",
|
2021-02-05 03:12:03 +03:00
|
|
|
"build": {
|
2021-12-09 07:16:00 +03:00
|
|
|
"distDir": "../dist",
|
2022-08-20 22:53:07 +03:00
|
|
|
"devPath": "http://localhost:5173",
|
2022-12-03 16:20:04 +03:00
|
|
|
"beforeDevCommand": "yarn dev",
|
2023-02-06 14:56:00 +03:00
|
|
|
"beforeBuildCommand": "yarn build",
|
|
|
|
"withGlobalTauri": true
|
2021-02-05 03:12:03 +03:00
|
|
|
},
|
2021-03-23 03:51:23 +03:00
|
|
|
"package": {
|
|
|
|
"productName": "Tauri API",
|
2022-07-27 20:58:43 +03:00
|
|
|
"version": "1.0.0"
|
2021-03-23 03:51:23 +03:00
|
|
|
},
|
2023-04-14 21:33:53 +03:00
|
|
|
"plugins": {
|
2021-02-05 03:12:03 +03:00
|
|
|
"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",
|
2023-05-13 13:48:28 +03:00
|
|
|
"possibleValues": ["light", "dark", "system"]
|
2021-02-05 03:12:03 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"short": "v",
|
|
|
|
"name": "verbose",
|
|
|
|
"description": "Verbosity level"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"subcommands": {
|
|
|
|
"update": {
|
|
|
|
"description": "Updates the app",
|
|
|
|
"args": [
|
|
|
|
{
|
|
|
|
"short": "b",
|
|
|
|
"name": "background",
|
|
|
|
"description": "Update in background"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2023-04-14 21:33:53 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"tauri": {
|
|
|
|
"pattern": {
|
|
|
|
"use": "isolation",
|
|
|
|
"options": {
|
|
|
|
"dir": "../isolation-dist/"
|
|
|
|
}
|
2021-02-05 03:12:03 +03:00
|
|
|
},
|
2023-04-14 21:33:53 +03:00
|
|
|
"macOSPrivateApi": true,
|
2021-02-05 03:12:03 +03:00
|
|
|
"bundle": {
|
|
|
|
"active": true,
|
2021-02-21 19:48:08 +03:00
|
|
|
"identifier": "com.tauri.api",
|
2021-02-05 03:12:03 +03:00
|
|
|
"icon": [
|
2021-05-03 17:16:51 +03:00
|
|
|
"../../.icons/32x32.png",
|
|
|
|
"../../.icons/128x128.png",
|
|
|
|
"../../.icons/128x128@2x.png",
|
|
|
|
"../../.icons/icon.icns",
|
|
|
|
"../../.icons/icon.ico"
|
2022-02-05 21:13:07 +03:00
|
|
|
],
|
|
|
|
"windows": {
|
|
|
|
"wix": {
|
|
|
|
"language": {
|
|
|
|
"en-US": {},
|
|
|
|
"pt-BR": {
|
|
|
|
"localePath": "locales/pt-BR.wxl"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-01-09 20:26:58 +03:00
|
|
|
},
|
2023-05-13 13:48:28 +03:00
|
|
|
"updater": {
|
|
|
|
"active": true,
|
|
|
|
"pubkey": "asdasd",
|
|
|
|
"windows": {
|
|
|
|
"installMode": "passive"
|
2022-03-03 23:32:12 +03:00
|
|
|
}
|
2022-01-09 20:26:58 +03:00
|
|
|
}
|
2021-02-05 03:12:03 +03:00
|
|
|
},
|
2022-07-04 04:15:23 +03:00
|
|
|
"windows": [],
|
2021-02-05 03:12:03 +03:00
|
|
|
"security": {
|
2022-03-05 03:18:39 +03:00
|
|
|
"csp": {
|
|
|
|
"default-src": "'self' customprotocol: asset:",
|
2023-05-13 13:48:28 +03:00
|
|
|
"font-src": ["https://fonts.gstatic.com"],
|
2022-03-05 03:18:39 +03:00
|
|
|
"img-src": "'self' asset: https://asset.localhost blob: data:",
|
|
|
|
"style-src": "'unsafe-inline' 'self' https://fonts.googleapis.com"
|
|
|
|
},
|
2023-05-13 13:48:28 +03:00
|
|
|
"freezePrototype": true,
|
|
|
|
"assetProtocol": {
|
|
|
|
"enable": true,
|
|
|
|
"scope": {
|
|
|
|
"allow": ["$APPDATA/db/**", "$RESOURCE/**"],
|
|
|
|
"deny": ["$APPDATA/db/*.stronghold"]
|
|
|
|
}
|
|
|
|
}
|
2021-05-09 14:15:37 +03:00
|
|
|
},
|
|
|
|
"systemTray": {
|
2021-07-29 22:29:59 +03:00
|
|
|
"iconPath": "../../.icons/tray_icon_with_transparency.png",
|
2022-07-05 15:05:01 +03:00
|
|
|
"iconAsTemplate": true,
|
|
|
|
"menuOnLeftClick": false
|
2021-02-05 03:12:03 +03:00
|
|
|
}
|
|
|
|
}
|
2023-05-13 13:48:28 +03:00
|
|
|
}
|