{ "$schema": "https://schema.tauri.app/config/2", "productName": "Pipu Music", "version": "0.0.0", "identifier": "app.pipu.music.desktop", "build": { "beforeDevCommand": "pnpm --filter @pipu/web dev", "devUrl": "http://127.0.0.1:5173", "beforeBuildCommand": "pnpm --filter @pipu/web build", "frontendDist": "../../web/dist" }, "app": { "withGlobalTauri": true, "windows": [{ "label": "main", "title": "Pipu Music", "width": 1200, "height": 800, "minWidth": 720, "minHeight": 540 }], "security": { "csp": "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: http://127.0.0.1:*; font-src 'self' data:; media-src 'self' blob: http://127.0.0.1:*; connect-src 'self' ipc: http://ipc.localhost http://127.0.0.1:*; object-src 'none'; base-uri 'self'; frame-src 'none'" } }, "bundle": { "active": true, "targets": ["nsis", "appimage", "deb", "rpm"], "category": "Music", "shortDescription": "Self-hosted music player", "icon": ["icons/32x32.png", "icons/128x128.png", "icons/128x128@2x.png", "icons/icon.ico", "icons/icon.icns"], "linux": { "deb": { "depends": ["libwebkit2gtk-4.1-0", "libayatana-appindicator3-1", "libsecret-1-0", "gstreamer1.0-plugins-good", "gstreamer1.0-plugins-bad", "gstreamer1.0-libav"] }, "appimage": { "bundleMediaFramework": false } }, "windows": { "nsis": { "installMode": "currentUser", "languages": ["English", "Russian"], "displayLanguageSelector": true } } } }