The installer no longer bundles the engine, and the installer script stops when the bundle names it or when the setup file is over 30 MB. pnpm build:browser-engine packages the engine, writes a deterministic ZIP and its record to releases/browser-engine/<version>/, and pins the ZIP in the host. The installer hooks remove the engine folder that 0.1.48 leaves behind, and uninstall removes the downloaded engine.
55 lines
1.3 KiB
JSON
55 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "RuneStone",
|
|
"version": "0.1.48",
|
|
"identifier": "com.runestone.app",
|
|
"build": {
|
|
"beforeDevCommand": "pnpm dev",
|
|
"devUrl": "http://localhost:1420",
|
|
"beforeBuildCommand": "pnpm build",
|
|
"frontendDist": "../build"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"title": "RuneStone",
|
|
"width": 1400,
|
|
"height": 900,
|
|
"minWidth": 880,
|
|
"minHeight": 560,
|
|
"decorations": false,
|
|
"dragDropEnabled": false
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": {
|
|
"default-src": "'self'",
|
|
"script-src": "'self' blob: 'wasm-unsafe-eval'",
|
|
"style-src": "'self' 'unsafe-inline'",
|
|
"img-src": "'self' data: blob: https: http:",
|
|
"font-src": "'self' data:",
|
|
"connect-src": "'self' ipc: http://ipc.localhost blob:",
|
|
"worker-src": "'self' blob:",
|
|
"object-src": "'none'",
|
|
"base-uri": "'self'",
|
|
"form-action": "'none'",
|
|
"frame-ancestors": "'none'"
|
|
},
|
|
"dangerousDisableAssetCspModification": [
|
|
"style-src"
|
|
]
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/[email protected]",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
]
|
|
}
|
|
}
|