Код IT Загрузка примера кода…

JSON main.json
{
  "build": {
    "beforeBuildCommand": "npm run build",
    "beforeDevCommand": "npm run dev",
    "devPath": "http://localhost:1420",
    "distDir": "../dist"
  },
  "tauri": {
    "allowlist": {
      "shell": { "all": false, "open": true },
      "dialog": { "all": false, "open": true, "save": true }
    }
  }
}
{
  "build": {
    "beforeBuildCommand": "npm run build",
    "beforeDevCommand": "npm run dev",
    "devPath": "http://localhost:1420",
    "distDir": "../dist"
  },
  "tauri": {
    "allowlist": {
      "shell": { "all": false, "open": true },
      "dialog": { "all": false, "open": true, "save": true }
    }
  }
}