{ "$schema": "https://raw.githubusercontent.com/tauri-apps/tauri/dev/crates/tauri-cli/schema.json", "productName": "OneLauncher", "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", "ipc:", "http://ipc.localhost" ], "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", "https://*.githubusercontent.com", "'self'", "'unsafe-inline'" ], "style-src": [ "'unsafe-inline'", "unsafe-inline", "'self'" ] }, "pattern": { "use": "isolation", "options": { "dir": "../frontend/isolation/" } }, "assetProtocol": { "enable": true, "scope": { "allow": [ "$DATA/OneLauncher/**", "$RESOURCE/**" ], "deny": ["$DATA/OneLauncher/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 --filter @onelauncher/frontend run dev", "beforeBuildCommand": "pnpm --filter @onelauncher/frontend run build", "frontendDist": "../frontend/dist", "devUrl": "http://localhost:8001" }, "bundle": { "active": true, "targets": "all", "category": "Game", "icon": [ "../../packages/distribution/icons/32x32.png", "../../packages/distribution/icons/128x128.png", "../../packages/distribution/icons/128x128@2x.png", "../../packages/distribution/icons/icon.icns", "../../packages/distribution/icons/icon.ico" ], "copyright": "Polyfrost", "publisher": "Polyfrost", "license": "GPL-3.0-only", "homepage": "https://polyfrost.org/", "longDescription": "Next-generation open source Minecraft launcher", "createUpdaterArtifacts": "v1Compatible", "resources": [], "externalBin": [], "linux": { "deb": { "depends": [], "desktopTemplate": "../../packages/distribution/linux/org.polyfrost.launcher.desktop.template" } }, "shortDescription": "OneLauncher", "macOS": { "entitlements": "App.entitlements", "exceptionDomain": null, "frameworks": [], "dmg": { "background": "../../packages/distribution/macos/dmg-background.png", "appPosition": { "x": 190, "y": 190 }, "applicationFolderPosition": { "x": 470, "y": 190 } }, "providerShortName": null, "signingIdentity": null, "minimumSystemVersion": "10.15" }, "windows": { "certificateThumbprint": null, "webviewInstallMode": { "silent": true, "type": "downloadBootstrapper" }, "digestAlgorithm": "sha256", "timestampUrl": "https://timestamp.digicert.com" } }, "plugins": { "updater": { "pubkey": "", "endpoints": ["https://polyfrost.org/releases/tauri/{{current_version}}/{{target}}/{{arch}}"] }, "deep-link": { "mobile": [], "desktop": { "schemes": ["onelauncher"] } } } }