Files
Cultivation/src-tauri/tauri.conf.json

93 lines
2.2 KiB
JSON

{
"$schema": "..\\node_modules/@tauri-apps/cli\\schema.json",
"build": {
"beforeDevCommand": "yarn start",
"devPath": "http://localhost:3000",
"distDir": "../build"
},
"package": {
"productName": "Cultivation",
"version": "1.0.0"
},
"tauri": {
"allowlist": {
"fs": {
"scope": [
"$DATA",
"$DATA/cultivation",
"$DATA/cultivation/*"
]
},
"protocol": {
"all": true,
"asset": true,
"assetScope": [
"$DATA",
"$DATA/cultivation",
"$DATA/cultivation/*"
]
},
"all": true
},
"bundle": {
"active": true,
"category": "Game",
"copyright": "",
"deb": {
"depends": []
},
"externalBin": [],
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"identifier": "xyz.grasscutters",
"shortDescription": "A game launcher.",
"longDescription": "A launcher for a certain anime game that proxies all related game traffic to external servers.",
"macOS": {
"entitlements": null,
"exceptionDomain": "",
"frameworks": [],
"providerShortName": null,
"signingIdentity": null
},
"resources": [
"lang/*.json"
],
"targets": "all",
"windows": {
"allowDowngrades": false,
"certificateThumbprint": null,
"digestAlgorithm": "sha256",
"timestampUrl": "",
"wix": {
"fragmentPaths": ["resources/wix.wxs"]
}
}
},
"security": {
"csp": "default-src 'self' https://asset.localhost; img-src 'self'; img-src https://* asset: https://asset.localhost"
},
"updater": {
"active": false,
"dialog": true,
"endpoints": [
"https://api.grasscutters.xyz/cultivation/update?version={{current_version}}"
],
"pubkey": ""
},
"windows": [
{
"fullscreen": false,
"height": 730,
"resizable": true,
"title": "Cultivation",
"width": 1280,
"decorations": false
}
]
}
}