2022-02-21 21:01:45 -08:00
|
|
|
{
|
|
|
|
|
"build": {
|
2024-07-09 15:17:38 -07:00
|
|
|
"beforeDevCommand": "pnpm turbo run dev --filter=@modrinth/app-frontend",
|
|
|
|
|
"beforeBuildCommand": "pnpm turbo run build --filter=@modrinth/app-frontend",
|
2024-08-27 21:49:36 +02:00
|
|
|
"frontendDist": "../app-frontend/dist",
|
|
|
|
|
"devUrl": "http://localhost:1420"
|
2023-02-27 09:11:34 -07:00
|
|
|
},
|
2024-08-27 21:49:36 +02:00
|
|
|
"bundle": {
|
|
|
|
|
"active": true,
|
|
|
|
|
"category": "Game",
|
|
|
|
|
"copyright": "",
|
|
|
|
|
"targets": "all",
|
|
|
|
|
"externalBin": [],
|
|
|
|
|
"icon": [
|
|
|
|
|
"icons/128x128.png",
|
|
|
|
|
"icons/128x128@2x.png",
|
|
|
|
|
"icons/icon.icns",
|
|
|
|
|
"icons/icon.ico"
|
|
|
|
|
],
|
|
|
|
|
"windows": {
|
|
|
|
|
"certificateThumbprint": null,
|
|
|
|
|
"digestAlgorithm": "sha256",
|
|
|
|
|
"timestampUrl": "http://timestamp.digicert.com",
|
2024-09-10 00:24:17 -07:00
|
|
|
"nsis": {
|
|
|
|
|
"installMode": "perMachine",
|
|
|
|
|
"installerHooks": "./nsis/hooks.nsi"
|
2023-02-27 09:11:34 -07:00
|
|
|
}
|
|
|
|
|
},
|
2024-08-27 21:49:36 +02:00
|
|
|
"longDescription": "",
|
|
|
|
|
"macOS": {
|
|
|
|
|
"entitlements": "App.entitlements",
|
|
|
|
|
"exceptionDomain": "",
|
|
|
|
|
"frameworks": [],
|
|
|
|
|
"providerShortName": null,
|
|
|
|
|
"signingIdentity": null
|
|
|
|
|
},
|
|
|
|
|
"resources": [],
|
|
|
|
|
"shortDescription": "",
|
|
|
|
|
"linux": {
|
2023-02-27 09:11:34 -07:00
|
|
|
"deb": {
|
|
|
|
|
"depends": []
|
2022-02-21 21:01:45 -08:00
|
|
|
}
|
2024-08-27 17:50:10 -07:00
|
|
|
},
|
|
|
|
|
"fileAssociations": [
|
|
|
|
|
{
|
|
|
|
|
"ext": ["mrpack"],
|
|
|
|
|
"mimeType": "application/zip+mrpack"
|
|
|
|
|
}
|
|
|
|
|
]
|
2024-08-27 21:49:36 +02:00
|
|
|
},
|
|
|
|
|
"productName": "Modrinth App",
|
2024-10-15 23:43:49 -07:00
|
|
|
"version": "0.8.9",
|
2024-09-29 17:51:51 -07:00
|
|
|
"mainBinaryName": "Modrinth App",
|
2024-08-27 21:49:36 +02:00
|
|
|
"identifier": "ModrinthApp",
|
|
|
|
|
"plugins": {
|
|
|
|
|
"deep-link": {
|
|
|
|
|
"desktop": {
|
|
|
|
|
"schemes": ["modrinth"]
|
|
|
|
|
},
|
|
|
|
|
"mobile": []
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"app": {
|
|
|
|
|
"withGlobalTauri": false,
|
|
|
|
|
"macOSPrivateApi": true,
|
2023-02-27 09:11:34 -07:00
|
|
|
"windows": [
|
|
|
|
|
{
|
2023-06-20 00:09:03 -04:00
|
|
|
"titleBarStyle": "Overlay",
|
|
|
|
|
"hiddenTitle": true,
|
2023-02-27 09:11:34 -07:00
|
|
|
"fullscreen": false,
|
2023-08-05 16:41:08 -07:00
|
|
|
"height": 800,
|
2023-02-27 09:11:34 -07:00
|
|
|
"resizable": true,
|
2023-05-23 11:14:22 -07:00
|
|
|
"title": "Modrinth App",
|
2023-06-20 22:03:59 -04:00
|
|
|
"width": 1280,
|
2024-08-28 21:44:08 -07:00
|
|
|
"minHeight": 750,
|
2023-07-28 19:56:49 -07:00
|
|
|
"minWidth": 1100,
|
|
|
|
|
"visible": false,
|
2024-08-28 21:44:08 -07:00
|
|
|
"zoomHotkeysEnabled": false,
|
2023-07-28 19:56:49 -07:00
|
|
|
"decorations": false
|
2023-02-27 09:11:34 -07:00
|
|
|
}
|
2024-08-27 21:49:36 +02:00
|
|
|
],
|
|
|
|
|
"security": {
|
|
|
|
|
"assetProtocol": {
|
|
|
|
|
"scope": [
|
|
|
|
|
"$APPDATA/caches/icons/*",
|
|
|
|
|
"$APPCONFIG/caches/icons/*",
|
|
|
|
|
"$CONFIG/caches/icons/*"
|
|
|
|
|
],
|
|
|
|
|
"enable": true
|
|
|
|
|
},
|
2024-08-30 10:42:58 -07:00
|
|
|
"capabilities": ["ads", "core", "plugins"],
|
2024-08-28 21:44:08 -07:00
|
|
|
"csp": {
|
|
|
|
|
"default-src": "'self' customprotocol: asset:",
|
2024-11-26 18:23:29 -07:00
|
|
|
"connect-src": "ipc: http://ipc.localhost https://modrinth.com https://*.modrinth.com https://*.posthog.com https://*.sentry.io https://api.mclo.gs",
|
2024-08-28 21:44:08 -07:00
|
|
|
"font-src": [
|
|
|
|
|
"https://cdn-raw.modrinth.com/fonts/inter/"
|
|
|
|
|
],
|
|
|
|
|
"img-src": "https: 'unsafe-inline' 'self' asset: http://asset.localhost blob: data:",
|
|
|
|
|
"style-src": "'unsafe-inline' 'self'",
|
2024-11-26 18:23:29 -07:00
|
|
|
"script-src": "https://*.posthog.com 'self'",
|
|
|
|
|
"frame-src": "https://www.youtube.com https://www.youtube-nocookie.com https://discord.com 'self'"
|
2024-08-28 21:44:08 -07:00
|
|
|
}
|
2024-08-27 21:49:36 +02:00
|
|
|
}
|
2022-02-21 21:01:45 -08:00
|
|
|
}
|
2023-03-30 14:02:46 -07:00
|
|
|
}
|