2022-02-21 21:01:45 -08:00
|
|
|
{
|
feat: consistently format all HTML, XML, JSON, CSS, JS, TS, SQL, TOML, YAML, and Markdown files as far as possible (#4193)
* feat: consistently format all HTML, XML, JSON, CSS, JS, TS, SQL, TOML, YAML, and Markdown files
* chore: deal with VS Code not being able to parse valid editorconfig syntax
Sometimes I'm surprised that computers even work.
* chore: get rid of IntelliJ IDE config files that should not be there
These were already added to the `.gitignore` a long time ago, and now
are being ignored by Prettier.
* fix: rename `tooling-config` `format` script to `fix` for it to run with Turbo
2025-08-16 19:40:31 +02:00
|
|
|
"$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": [],
|
2026-04-27 20:03:48 +01:00
|
|
|
"icon": [
|
|
|
|
|
"icons/128x128.png",
|
|
|
|
|
"icons/128x128@2x.png",
|
|
|
|
|
"icons/icon.icns",
|
|
|
|
|
"icons/icon.ico"
|
|
|
|
|
],
|
feat: consistently format all HTML, XML, JSON, CSS, JS, TS, SQL, TOML, YAML, and Markdown files as far as possible (#4193)
* feat: consistently format all HTML, XML, JSON, CSS, JS, TS, SQL, TOML, YAML, and Markdown files
* chore: deal with VS Code not being able to parse valid editorconfig syntax
Sometimes I'm surprised that computers even work.
* chore: get rid of IntelliJ IDE config files that should not be there
These were already added to the `.gitignore` a long time ago, and now
are being ignored by Prettier.
* fix: rename `tooling-config` `format` script to `fix` for it to run with Turbo
2025-08-16 19:40:31 +02:00
|
|
|
"windows": {
|
|
|
|
|
"nsis": {
|
|
|
|
|
"installMode": "currentUser",
|
|
|
|
|
"installerHooks": "./nsis/hooks.nsi"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"longDescription": "",
|
|
|
|
|
"macOS": {
|
|
|
|
|
"entitlements": "App.entitlements",
|
|
|
|
|
"exceptionDomain": "",
|
|
|
|
|
"frameworks": [],
|
|
|
|
|
"providerShortName": null,
|
2026-05-04 12:27:38 -07:00
|
|
|
"signingIdentity": null,
|
|
|
|
|
"dmg": {
|
|
|
|
|
"background": "./dmg/dmg-background.png",
|
|
|
|
|
"windowSize": {
|
|
|
|
|
"width": 661,
|
|
|
|
|
"height": 432
|
|
|
|
|
},
|
|
|
|
|
"appPosition": {
|
|
|
|
|
"x": 188,
|
|
|
|
|
"y": 212
|
|
|
|
|
},
|
|
|
|
|
"applicationFolderPosition": {
|
|
|
|
|
"x": 475,
|
|
|
|
|
"y": 212
|
|
|
|
|
}
|
|
|
|
|
}
|
feat: consistently format all HTML, XML, JSON, CSS, JS, TS, SQL, TOML, YAML, and Markdown files as far as possible (#4193)
* feat: consistently format all HTML, XML, JSON, CSS, JS, TS, SQL, TOML, YAML, and Markdown files
* chore: deal with VS Code not being able to parse valid editorconfig syntax
Sometimes I'm surprised that computers even work.
* chore: get rid of IntelliJ IDE config files that should not be there
These were already added to the `.gitignore` a long time ago, and now
are being ignored by Prettier.
* fix: rename `tooling-config` `format` script to `fix` for it to run with Turbo
2025-08-16 19:40:31 +02:00
|
|
|
},
|
|
|
|
|
"shortDescription": "",
|
|
|
|
|
"linux": {
|
|
|
|
|
"deb": {
|
|
|
|
|
"depends": []
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"fileAssociations": [
|
|
|
|
|
{
|
2026-04-27 20:03:48 +01:00
|
|
|
"ext": [
|
|
|
|
|
"mrpack"
|
|
|
|
|
],
|
feat: consistently format all HTML, XML, JSON, CSS, JS, TS, SQL, TOML, YAML, and Markdown files as far as possible (#4193)
* feat: consistently format all HTML, XML, JSON, CSS, JS, TS, SQL, TOML, YAML, and Markdown files
* chore: deal with VS Code not being able to parse valid editorconfig syntax
Sometimes I'm surprised that computers even work.
* chore: get rid of IntelliJ IDE config files that should not be there
These were already added to the `.gitignore` a long time ago, and now
are being ignored by Prettier.
* fix: rename `tooling-config` `format` script to `fix` for it to run with Turbo
2025-08-16 19:40:31 +02:00
|
|
|
"mimeType": "application/x-modrinth-modpack+zip"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"productName": "Modrinth App",
|
|
|
|
|
"version": "../app-frontend/package.json",
|
|
|
|
|
"mainBinaryName": "Modrinth App",
|
|
|
|
|
"identifier": "ModrinthApp",
|
|
|
|
|
"plugins": {
|
|
|
|
|
"deep-link": {
|
|
|
|
|
"desktop": {
|
2026-04-27 20:03:48 +01:00
|
|
|
"schemes": [
|
|
|
|
|
"modrinth"
|
|
|
|
|
]
|
feat: consistently format all HTML, XML, JSON, CSS, JS, TS, SQL, TOML, YAML, and Markdown files as far as possible (#4193)
* feat: consistently format all HTML, XML, JSON, CSS, JS, TS, SQL, TOML, YAML, and Markdown files
* chore: deal with VS Code not being able to parse valid editorconfig syntax
Sometimes I'm surprised that computers even work.
* chore: get rid of IntelliJ IDE config files that should not be there
These were already added to the `.gitignore` a long time ago, and now
are being ignored by Prettier.
* fix: rename `tooling-config` `format` script to `fix` for it to run with Turbo
2025-08-16 19:40:31 +02:00
|
|
|
},
|
|
|
|
|
"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,
|
2025-08-26 13:43:38 +03:00
|
|
|
"visible": false,
|
feat: consistently format all HTML, XML, JSON, CSS, JS, TS, SQL, TOML, YAML, and Markdown files as far as possible (#4193)
* feat: consistently format all HTML, XML, JSON, CSS, JS, TS, SQL, TOML, YAML, and Markdown files
* chore: deal with VS Code not being able to parse valid editorconfig syntax
Sometimes I'm surprised that computers even work.
* chore: get rid of IntelliJ IDE config files that should not be there
These were already added to the `.gitignore` a long time ago, and now
are being ignored by Prettier.
* fix: rename `tooling-config` `format` script to `fix` for it to run with Turbo
2025-08-16 19:40:31 +02:00
|
|
|
"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
|
|
|
|
|
},
|
2026-04-27 20:03:48 +01:00
|
|
|
"capabilities": [
|
|
|
|
|
"ads",
|
|
|
|
|
"core",
|
|
|
|
|
"plugins"
|
|
|
|
|
],
|
feat: consistently format all HTML, XML, JSON, CSS, JS, TS, SQL, TOML, YAML, and Markdown files as far as possible (#4193)
* feat: consistently format all HTML, XML, JSON, CSS, JS, TS, SQL, TOML, YAML, and Markdown files
* chore: deal with VS Code not being able to parse valid editorconfig syntax
Sometimes I'm surprised that computers even work.
* chore: get rid of IntelliJ IDE config files that should not be there
These were already added to the `.gitignore` a long time ago, and now
are being ignored by Prettier.
* fix: rename `tooling-config` `format` script to `fix` for it to run with Turbo
2025-08-16 19:40:31 +02:00
|
|
|
"csp": {
|
|
|
|
|
"default-src": "'self' customprotocol: asset:",
|
2026-04-27 20:03:48 +01:00
|
|
|
"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"
|
|
|
|
|
],
|
feat: consistently format all HTML, XML, JSON, CSS, JS, TS, SQL, TOML, YAML, and Markdown files as far as possible (#4193)
* feat: consistently format all HTML, XML, JSON, CSS, JS, TS, SQL, TOML, YAML, and Markdown files
* chore: deal with VS Code not being able to parse valid editorconfig syntax
Sometimes I'm surprised that computers even work.
* chore: get rid of IntelliJ IDE config files that should not be there
These were already added to the `.gitignore` a long time ago, and now
are being ignored by Prettier.
* fix: rename `tooling-config` `format` script to `fix` for it to run with Turbo
2025-08-16 19:40:31 +02:00
|
|
|
"img-src": "https: 'unsafe-inline' 'self' asset: http://asset.localhost http://textures.minecraft.net blob: data:",
|
|
|
|
|
"style-src": "'unsafe-inline' 'self'",
|
2026-04-27 20:03:48 +01:00
|
|
|
"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'",
|
feat: consistently format all HTML, XML, JSON, CSS, JS, TS, SQL, TOML, YAML, and Markdown files as far as possible (#4193)
* feat: consistently format all HTML, XML, JSON, CSS, JS, TS, SQL, TOML, YAML, and Markdown files
* chore: deal with VS Code not being able to parse valid editorconfig syntax
Sometimes I'm surprised that computers even work.
* chore: get rid of IntelliJ IDE config files that should not be there
These were already added to the `.gitignore` a long time ago, and now
are being ignored by Prettier.
* fix: rename `tooling-config` `format` script to `fix` for it to run with Turbo
2025-08-16 19:40:31 +02:00
|
|
|
"media-src": "https://*.githubusercontent.com"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2023-03-30 14:02:46 -07:00
|
|
|
}
|