apply BackgroundThrottlingPolicy #14445
Closed
rupisaini123
started this conversation in
General
Replies: 1 comment
-
|
This is a default create-tauri-app tauri.conf.json file with just the policy added (right in the middle in {
"$schema": "https://schema.tauri.app/config/2",
"productName": "temp",
"version": "0.1.0",
"identifier": "com.fabian-lars.temp",
"build": {
"beforeDevCommand": "pnpm dev",
"devUrl": "http://localhost:1420",
"beforeBuildCommand": "pnpm build",
"frontendDist": "../dist"
},
"app": {
"withGlobalTauri": true,
"windows": [
{
"title": "temp",
"width": 800,
"height": 600,
"backgroundThrottling": "disabled"
}
],
"security": {
"csp": null
}
},
"bundle": {
"active": true,
"targets": "all",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/[email protected]",
"icons/icon.icns",
"icons/icon.ico"
]
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How can we apply BackgroundThrottlingPolicy from tauri.conf.json
Beta Was this translation helpful? Give feedback.
All reactions