* feat: card alignment + fix modals * feat: change admon title in restore alert modal * fix: lint * feat: backups queue api into api-client * feat: impl backup queue api endpoints into frontend * feat: ack fix * feat: bulk actions * feat: bulk delete impl * fix: lint * fix: align error states * fix: transition group * feat: ready for qa * fix: lint * feat: qa * feat: stacked admonitions component * fix: issues with stacking * feat: hook up admonition stacking + fix app csp for staging kyros nodes * fix: logs.vue * qa: close stack on admonitions click * fix: all problems with stacked admonitions * qa: admonition cleanup and copy overhaul draft * fix: qa issues padding * fix: padding bug * feat: qa * fix: intercom in app csp bug * fix: positioning intercom * feat: loading overlay on top of console + admon consistency changes * feat: scroll indicator fade in backup delete modal + admon timestamp fix * feat: move action bar behind modal * fix: lint + i18n * fix: server ping spam on filter (cache but clear on unmount) * fix: 1 admon fade in flicker issue * chore: temp staging undo * qa: changes * fix: lint * chore: revert staging to use staging * fix: scoping
117 lines
3.5 KiB
JSON
117 lines
3.5 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"build": {
|
|
"beforeDevCommand": "pnpm turbo run dev --filter=@modrinth/app-frontend",
|
|
"beforeBuildCommand": "pnpm turbo run build --filter=@modrinth/app-frontend",
|
|
"frontendDist": "../app-frontend/dist",
|
|
"devUrl": "http://localhost:1420"
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"category": "Game",
|
|
"copyright": "",
|
|
"targets": "all",
|
|
"externalBin": [],
|
|
"icon": [
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
],
|
|
"windows": {
|
|
"nsis": {
|
|
"installMode": "currentUser",
|
|
"installerHooks": "./nsis/hooks.nsi"
|
|
}
|
|
},
|
|
"longDescription": "",
|
|
"macOS": {
|
|
"entitlements": "App.entitlements",
|
|
"exceptionDomain": "",
|
|
"frameworks": [],
|
|
"providerShortName": null,
|
|
"signingIdentity": null
|
|
},
|
|
"shortDescription": "",
|
|
"linux": {
|
|
"deb": {
|
|
"depends": []
|
|
}
|
|
},
|
|
"fileAssociations": [
|
|
{
|
|
"ext": [
|
|
"mrpack"
|
|
],
|
|
"mimeType": "application/x-modrinth-modpack+zip"
|
|
}
|
|
]
|
|
},
|
|
"productName": "Modrinth App",
|
|
"version": "../app-frontend/package.json",
|
|
"mainBinaryName": "Modrinth App",
|
|
"identifier": "ModrinthApp",
|
|
"plugins": {
|
|
"deep-link": {
|
|
"desktop": {
|
|
"schemes": [
|
|
"modrinth"
|
|
]
|
|
},
|
|
"mobile": []
|
|
}
|
|
},
|
|
"app": {
|
|
"withGlobalTauri": false,
|
|
"macOSPrivateApi": true,
|
|
"windows": [
|
|
{
|
|
"titleBarStyle": "Overlay",
|
|
"hiddenTitle": true,
|
|
"fullscreen": false,
|
|
"height": 800,
|
|
"resizable": true,
|
|
"title": "Modrinth App",
|
|
"label": "main",
|
|
"width": 1280,
|
|
"minHeight": 700,
|
|
"minWidth": 1100,
|
|
"visible": false,
|
|
"zoomHotkeysEnabled": false,
|
|
"decorations": false
|
|
}
|
|
],
|
|
"security": {
|
|
"assetProtocol": {
|
|
"scope": [
|
|
"$APPDATA/caches/icons/*",
|
|
"$APPCONFIG/caches/icons/*",
|
|
"$CONFIG/caches/icons/*",
|
|
"$APPDATA/profiles/*/saves/*/icon.png",
|
|
"$APPCONFIG/profiles/*/saves/*/icon.png",
|
|
"$CONFIG/profiles/*/saves/*/icon.png"
|
|
],
|
|
"enable": true
|
|
},
|
|
"capabilities": [
|
|
"ads",
|
|
"core",
|
|
"plugins"
|
|
],
|
|
"csp": {
|
|
"default-src": "'self' customprotocol: asset:",
|
|
"connect-src": "ipc: http://ipc.localhost https://modrinth.com https://*.modrinth.com https://*.nodes.modrinth.com https://*.posthog.com https://posthog.modrinth.com https://*.sentry.io https://api.mclo.gs http://textures.minecraft.net https://textures.minecraft.net https://js.stripe.com https://*.stripe.com wss://*.stripe.com https://*.intercom.io wss://*.intercom.io https://*.intercomcdn.com https://www.intercom-reporting.com https://app.getsentry.com wss://*.nodes.modrinth.com https://*.taila228c5.ts.net https://*.taila228c5.ts.net wss://*.taila228c5.ts.net https://fill.papermc.io https://api.purpurmc.org 'self' data: blob:",
|
|
"font-src": [
|
|
"https://cdn-raw.modrinth.com/fonts/",
|
|
"https://js.intercomcdn.com"
|
|
],
|
|
"img-src": "https: 'unsafe-inline' 'self' asset: http://asset.localhost http://textures.minecraft.net blob: data:",
|
|
"style-src": "'unsafe-inline' 'self'",
|
|
"script-src": "https://*.posthog.com https://posthog.modrinth.com https://js.stripe.com https://widget.intercom.io https://js.intercomcdn.com https://tally.so/widgets/embed.js 'self'",
|
|
"frame-src": "https://www.youtube.com https://www.youtube-nocookie.com https://discord.com https://tally.so/popup/ https://js.stripe.com https://hooks.stripe.com https://*.intercom.io https://intercom-sheets.com https://www.intercom-reporting.com https://app.intercom.com 'self'",
|
|
"media-src": "https://*.githubusercontent.com"
|
|
}
|
|
}
|
|
}
|
|
}
|