{ "$schema": "https://raw.githubusercontent.com/tauri-apps/tauri/dev/core/tauri-config-schema/schema.json", "productName": "onelauncher", "version": "../package.json", "identifier": "org.polyfrost.launcher", "app": { "withGlobalTauri": true, "macOSPrivateApi": true, "security": { "csp": { "default-src": ["'self'", "customprotocol:", "asset:"], "connect-src": ["https://modrinth.com", "https://api.modrinth.com", "https://polyfrost.org", "https://*.polyfrost.org", "https://*.cloudflare.com", "https://api.mclo.gs"], "img-src": ["'self'", "tauri:", "https:", "data:", "blob:", "'unsafe-inline'", "asset:", "https://asset.localhost"], "script-src": ["'self'", "https://*.cloudflare.com", "https://*.polyfrost.org"], "frame-src": ["https://*.cloudflare.com", "https://www.youtube.com", "https://www.youtube-nocookie.com", "https://discord.com", "'self'"], "style-src": ["unsafe-inline", "'self'"] }, "pattern": { "use": "isolation", "options": { "dir": "../src-isolation/" } }, "assetProtocol": { "enable": true, "scope": { "allow": [ "$APPDATA/caches/icons/*", "$APPCONFIG/caches/icons/*", "$CONFIG/caches/icons/*", "$APPDATA/db/**", "$RESOURCE/**" ], "deny": ["$APPDATA/db/*.stronghold"] } }, "freezePrototype": true, "capabilities": [] }, "windows": [ { "title": "OneLauncher", "titleBarStyle": "Overlay", "hiddenTitle": true, "width": 1280, "height": 802, "minWidth": 1020, "minHeight": 600, "resizable": true, "center": true, "decorations": false, "fullscreen": false, "shadow": true, "visible": false } ] }, "build": { "beforeDevCommand": "pnpm dev", "beforeBuildCommand": "pnpm build", "frontendDist": "../dist", "devUrl": "http://localhost:8001" }, "bundle": { "active": true, "targets": "all", "category": "Game", "icon": [ "../.icons/32x32.png", "../.icons/128x128.png", "../.icons/128x128@2x.png", "../.icons/icon.icns", "../.icons/icon.ico" ], "copyright": "Polyfrost", "longDescription": "", "resources": [], "externalBin": [], "publisher": "Polyfrost", "linux": { "deb": { "depends": [], "desktopTemplate": "../../distribution/linux/org.polyfrost.launcher.desktop.template" } }, "shortDescription": "Next-generation open source Minecraft launcher", "macOS": { "entitlements": "App.entitlements", "exceptionDomain": null, "frameworks": [], "providerShortName": null, "signingIdentity": null, "minimumSystemVersion": "10.15" }, "windows": { "certificateThumbprint": null, "webviewInstallMode": { "silent": true, "type": "downloadBootstrapper" }, "digestAlgorithm": "sha256", "timestampUrl": "https://timestamp.digicert.com" } }, "plugins": { "updater": { "active": true, "dialog": false, "pubkey": "", "endpoints": ["https://polyfrost.org/releases/update/{{version}}/{{target}}/{{arch}}"] } } }