* fix tauri config * fix package patch * regen pnpm lock * use new workflow * New GH actions * Update lockfile * update scripts * Fix build script * Fix missing deps * Fix assets eslint * Update libraries lint * Fix all lint configs * update lockfile * add fmt + clippy fails * Separate App Tauri portion * fix app features * Fix lints * install tauri cli * update lockfile * corepack, fix lints * add store path * fix unused import * Fix tests * Issue templates + port over tauri release * fix actions * fix before build command * Add X86 target * Update build matrix * finalize actions * make debug build smaller * Use debug build to make cache smaller * dummy commit * change proj name * update file name * Use release builds for less space use * Remove rust cache * Readd for app build * add merge queue trigger
103 lines
2.8 KiB
JSON
103 lines
2.8 KiB
JSON
{
|
|
"build": {
|
|
"beforeDevCommand": "pnpm turbo run dev --filter=@modrinth/app-frontend",
|
|
"beforeBuildCommand": "pnpm turbo run build --filter=@modrinth/app-frontend",
|
|
"devPath": "http://localhost:1420",
|
|
"distDir": "../app-frontend/dist",
|
|
"withGlobalTauri": false
|
|
},
|
|
"package": {
|
|
"productName": "Modrinth App",
|
|
"version": "0.7.2"
|
|
},
|
|
"tauri": {
|
|
"allowlist": {
|
|
"dialog": {
|
|
"confirm": true,
|
|
"open": true
|
|
},
|
|
"protocol": {
|
|
"asset": true,
|
|
"assetScope": [
|
|
"$APPDATA/caches/icons/*",
|
|
"$APPCONFIG/caches/icons/*",
|
|
"$CONFIG/caches/icons/*"
|
|
]
|
|
},
|
|
"shell": {
|
|
"open": true
|
|
},
|
|
"window": {
|
|
"create": true,
|
|
"close": true,
|
|
"hide": true,
|
|
"show": true,
|
|
"maximize": true,
|
|
"minimize": true,
|
|
"unmaximize": true,
|
|
"unminimize": true,
|
|
"startDragging": true,
|
|
"setDecorations": true
|
|
},
|
|
"os": {
|
|
"all": true
|
|
},
|
|
"app": {
|
|
"all": true
|
|
}
|
|
},
|
|
"macOSPrivateApi": true,
|
|
"bundle": {
|
|
"active": true,
|
|
"category": "Game",
|
|
"copyright": "",
|
|
"deb": {
|
|
"depends": []
|
|
},
|
|
"externalBin": [],
|
|
"icon": ["icons/128x128.png", "icons/128x128@2x.png", "icons/icon.icns", "icons/icon.ico"],
|
|
"identifier": "com.modrinth.theseus",
|
|
"longDescription": "",
|
|
"macOS": {
|
|
"entitlements": "App.entitlements",
|
|
"exceptionDomain": "",
|
|
"frameworks": [],
|
|
"providerShortName": null,
|
|
"signingIdentity": null
|
|
},
|
|
"resources": [],
|
|
"shortDescription": "",
|
|
"targets": "all",
|
|
"windows": {
|
|
"certificateThumbprint": null,
|
|
"digestAlgorithm": "sha256",
|
|
"timestampUrl": "http://timestamp.digicert.com",
|
|
"wix": {
|
|
"template": "./msi/main.wxs"
|
|
}
|
|
}
|
|
},
|
|
"security": {
|
|
"csp": "default-src 'self'; connect-src https://modrinth.com https://*.modrinth.com https://mixpanel.com https://*.mixpanel.com https://*.cloudflare.com https://api.mclo.gs; font-src https://cdn-raw.modrinth.com/fonts/inter/; img-src tauri: https: data: blob: 'unsafe-inline' asset: https://asset.localhost; script-src https://*.cloudflare.com 'self'; frame-src https://*.cloudflare.com https://www.youtube.com https://www.youtube-nocookie.com https://discord.com 'self'; style-src unsafe-inline 'self'"
|
|
},
|
|
"updater": {
|
|
"active": false
|
|
},
|
|
"windows": [
|
|
{
|
|
"titleBarStyle": "Overlay",
|
|
"hiddenTitle": true,
|
|
"fullscreen": false,
|
|
"height": 800,
|
|
"resizable": true,
|
|
"title": "Modrinth App",
|
|
"width": 1280,
|
|
"minHeight": 700,
|
|
"minWidth": 1100,
|
|
"visible": false,
|
|
"decorations": false
|
|
}
|
|
]
|
|
}
|
|
}
|