#how to save file to system audio folder on android

2 messages · Page 1 of 1 (latest)

autumn adder
#

default.json:

{
  "$schema": "../gen/schemas/desktop-schema.json",
  "identifier": "default",
  "description": "Capability for the main window",
  "windows": ["main"],
  "permissions": [
    {
      "identifier": "fs:allow-audio-read",
      "allow": [{ "path": "$AUDIO/*" }]
    },
    {
      "identifier": "fs:allow-audio-write",
      "allow": [{ "path": "$AUDIO/*" }]
    },
    "core:default",
    "shell:allow-open",
    "fs:default"
  ]
}
#

tauri.conf.json```json
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "tauri-app",
"version": "0.1.0",
"identifier": "com.tauri-app.app",
"build": {
"beforeDevCommand": "npm run dev",
"devUrl": "http://localhost:1420",
"beforeBuildCommand": "npm run build",
"frontendDist": "../build"
},
"app": {
"windows": [
{
"title": "tauri-app",
"width": 800,
"height": 600
}
],
"security": {
"csp": null
}
},
"bundle": {
"active": true,
"targets": "all",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/[email protected]",
"icons/icon.icns",
"icons/icon.ico"
]
}
}