OneLauncher-Cracked/apps/desktop/tauri.conf.json
2024-08-03 08:39:12 +02:00

144 lines
3.3 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/tauri-apps/tauri/dev/core/tauri-config-schema/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"
],
"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'"
],
"style-src": [
"unsafe-inline",
"'self'"
]
},
"pattern": {
"use": "isolation",
"options": {
"dir": "../frontend/isolation/"
}
},
"assetProtocol": {
"enable": true,
"scope": {
"allow": [
"$DATA/OneLauncher/metadata/caches/icons/*",
"$DATA/OneLauncher/db/**",
"$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",
"longDescription": "",
"resources": [],
"externalBin": [],
"publisher": "Polyfrost",
"linux": {
"deb": {
"depends": [],
"desktopTemplate": "../../packages/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}}"]
}
}
}