123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- {
- "$schema": "../../../core/config-schema/schema.json",
- "build": {
- "distDir": "../dist",
- "devPath": "http://localhost:5173",
- "beforeDevCommand": "yarn dev",
- "beforeBuildCommand": "yarn build"
- },
- "package": {
- "productName": "Tauri API",
- "version": "1.0.0"
- },
- "tauri": {
- "pattern": {
- "use": "isolation",
- "options": {
- "dir": "../isolation-dist/"
- }
- },
- "macOSPrivateApi": true,
- "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"
- ],
- "windows": {
- "wix": {
- "language": {
- "en-US": {},
- "pt-BR": {
- "localePath": "locales/pt-BR.wxl"
- }
- }
- }
- }
- },
- "updater": {
- "active": true,
- "dialog": false,
- "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDE5QzMxNjYwNTM5OEUwNTgKUldSWTRKaFRZQmJER1h4d1ZMYVA3dnluSjdpN2RmMldJR09hUFFlZDY0SlFqckkvRUJhZDJVZXAK",
- "endpoints": [
- "https://tauri-update-server.vercel.app/update/{{target}}/{{current_version}}"
- ]
- },
- "allowlist": {
- "all": true,
- "fs": {
- "scope": {
- "allow": ["$APPDATA/db/**", "$DOWNLOAD/**", "$RESOURCE/**"],
- "deny": ["$APPDATA/db/*.stronghold"]
- }
- },
- "shell": {
- "open": true,
- "scope": [
- {
- "name": "sh",
- "cmd": "sh",
- "args": ["-c", { "validator": "\\S+" }]
- },
- {
- "name": "cmd",
- "cmd": "cmd",
- "args": ["/C", { "validator": "\\S+" }]
- }
- ]
- },
- "protocol": {
- "asset": true,
- "assetScope": {
- "allow": ["$APPDATA/db/**", "$RESOURCE/**"],
- "deny": ["$APPDATA/db/*.stronghold"]
- }
- },
- "http": {
- "scope": ["http://localhost:3003"]
- }
- },
- "windows": [],
- "security": {
- "csp": {
- "default-src": "'self' customprotocol: asset:",
- "font-src": ["https://fonts.gstatic.com"],
- "img-src": "'self' asset: https://asset.localhost blob: data:",
- "style-src": "'unsafe-inline' 'self' https://fonts.googleapis.com"
- },
- "freezePrototype": true
- },
- "systemTray": {
- "iconPath": "../../.icons/tray_icon_with_transparency.png",
- "iconAsTemplate": true,
- "menuOnLeftClick": false
- }
- }
- }
|