{ "$schema": "../node_modules/@tauri-apps/cli/config.schema.json", "productName": "Readest", "version": "../package.json", "identifier": "com.bilingify.readest", "build": { "frontendDist": "../out", "devUrl": "http://localhost:3000", "beforeDevCommand": "pnpm dev", "beforeBuildCommand": "pnpm build" }, "app": { "windows": [], "security": { "csp": { "default-src": "'self' 'unsafe-inline' blob: customprotocol: asset: http://asset.localhost ipc: http://ipc.localhost https://fonts.gstatic.com https://db.onlinewebfonts.com", "connect-src": "'self' blob: asset: http://asset.localhost ipc: http://ipc.localhost https://*.sentry.io https://*.posthog.com https://*.deepl.com https://*.wikipedia.org https://*.wiktionary.org", "img-src": "'self' blob: data: asset: http://asset.localhost", "style-src": "'self' 'unsafe-inline' blob: asset: http://asset.localhost", "frame-src": "'self' blob: asset: http://asset.localhost", "script-src": "'self' 'unsafe-inline' 'unsafe-eval' blob: asset: http://asset.localhost https://*.sentry.io https://*.posthog.com" }, "assetProtocol": { "enable": true, "scope": { "allow": ["$RESOURCE/**", "$DOCUMENT/**/*", "$APPDATA/**/*", "$TEMP/**/*"], "deny": [] } } } }, "bundle": { "active": true, "targets": "all", "category": "Productivity", "icon": [ "icons/32x32.png", "icons/128x128.png", "icons/128x128@2x.png", "icons/icon.icns", "icons/icon.ico" ], "resources": [], "windows": { "webviewInstallMode": { "type": "embedBootstrapper" } }, "macOS": { "minimumSystemVersion": "12.0" }, "fileAssociations": [ { "name": "epub", "ext": ["epub"], "description": "EPUB file", "mimeType": "application/epub+zip", "role": "Viewer" }, { "name": "mobi", "ext": ["mobi"], "description": "MOBI file", "mimeType": "application/x-mobipocket-ebook", "role": "Viewer" }, { "name": "azw", "ext": ["azw", "azw3"], "description": "AZW file", "mimeType": "application/vnd.amazon.ebook", "role": "Viewer" }, { "name": "fb2", "ext": ["fb2"], "description": "FB2 file", "mimeType": "application/x-fictionbook+xml", "role": "Viewer" }, { "name": "cbz", "ext": ["cbz"], "description": "CBZ file", "mimeType": "application/vnd.comicbook+zip", "role": "Viewer" }, { "name": "pdf", "ext": ["pdf"], "description": "PDF file", "mimeType": "application/pdf", "role": "Viewer" } ], "createUpdaterArtifacts": true }, "plugins": { "fs": { "requireLiteralLeadingDot": false }, "cli": { "description": "Readest CLI", "args": [ { "name": "file1", "index": 1, "takesValue": true }, { "name": "file2", "index": 2, "takesValue": true }, { "name": "file3", "index": 3, "takesValue": true }, { "name": "file4", "index": 4, "takesValue": true } ] }, "updater": { "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEU0OTAxMURGQkUzQjFENTQKUldSVUhUdSszeEdRNUExdmFkWnlvYWNYNG5wamkxMmUxRk5SejlMOTJVd28yNXlVTDh6Wld4OC8K", "endpoints": ["https://github.com/chrox/readest/releases/latest/download/latest.json"] } } }