Files
iboard/src-tauri/tauri.conf.json
T

60 lines
1.6 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "iBoard",
"version": "0.2.1",
"identifier": "com.iboard.app",
"build": {
"beforeDevCommand": "npm run dev",
"beforeBuildCommand": "npm run build:shell",
"devUrl": "http://localhost:5173",
"frontendDist": "../dist"
},
"plugins": {
"hotswap": {
"endpoint": "https://iboard.honor3.com/api/ota/check/{{current_sequence}}",
"pubkey": "RWQQ4/wfHjJiC/O6NmA7eIQYUNRpCsz5wLLsLqJXgHmsUraAavUWx0HA",
"require_https": false,
"headers": {}
}
},
"app": {
"withGlobalTauri": true,
"windows": [
{
"title": "iBoard",
"width": 323,
"height": 574,
"minWidth": 242,
"minHeight": 430,
"resizable": true,
"visible": false,
"fullscreen": false
}
],
"security": {
"csp": "default-src 'self' ipc: http://ipc.localhost; img-src 'self' data: blob: asset: http://asset.localhost; connect-src 'self' ipc: http://ipc.localhost https://iboard.honor3.com http://bh.vps.honor3.com:3001 https://bh.vps.honor3.com:3001; style-src 'self' 'unsafe-inline'; script-src 'self'"
}
},
"bundle": {
"active": true,
"targets": "all",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"windows": {
"nsis": {
"installMode": "currentUser",
"languages": ["SimpChinese", "English"],
"displayLanguageSelector": false
}
},
"android": {
"minSdkVersion": 24
}
}
}