Files
heartbeatcat/src-tauri/tauri.conf.json
2024-07-19 22:08:18 +08:00

88 lines
1.8 KiB
JSON

{
"build": {
"beforeDevCommand": "pnpm dev",
"beforeBuildCommand": "pnpm build",
"devPath": "http://localhost:1420",
"distDir": "../dist"
},
"package": {
"productName": "HBCat",
"version": "1.0.1"
},
"tauri": {
"allowlist": {
"all": false,
"shell": {
"all": false,
"open": true
},
"fs": {
"scope": [
"$RESOURCE/*"
]
},
"path": {
"all": true
},
"window": {
"all": false,
"close": true,
"hide": true,
"show": true,
"maximize": true,
"minimize": true,
"unmaximize": true,
"unminimize": true,
"startDragging": true,
"create": true
},
"dialog": {
"all": true
}
},
"windows": [
{
"title": "Heartbeat Cat",
"minWidth": 800,
"minHeight": 500,
"width": 800,
"height": 500,
"userAgent": "Heartbeat Cat"
}
],
"security": {
"csp": "default-src 'self' file://*",
"dangerousRemoteDomainIpcAccess": [
{
"domain": "file://*",
"enableTauriAPI": true,
"windows": [
"widget_example"
]
}
]
},
"bundle": {
"active": true,
"targets": "all",
"identifier": "ga.bh8.heartbeat-cat",
"publisher": "TimothyYin",
"copyright": "2024 TimothyYin",
"category": "Utility",
"shortDescription": "HBCat",
"longDescription": "Catch your heartbeat",
"resources": [
"addons/*"
],
"icon": [
"icons/icon.ico"
],
"windows": {
"nsis": {
"installerIcon": "icons/icon.ico",
"installMode": "both"
}
}
}
}
}