- Fix CJK font rendering: add PingFang SC, Microsoft YaHei, Noto Sans CJK SC fallbacks to all CSS font stacks (headline, body, label, mono) - Clear docs_link default (was pointing to upstream docs) - Remove user-facing "NewAPI" text from en/zh i18n strings - Bump desktop version to 0.2.0 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
81 lines
2.2 KiB
JSON
81 lines
2.2 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/nicegui/nicegui/main/nicegui/static/tauri-schema-v2.json",
|
|
"productName": "HeiCode",
|
|
"version": "0.2.0",
|
|
"identifier": "com.heicode.desktop",
|
|
"build": {
|
|
"frontendDist": "../dist",
|
|
"devUrl": "http://localhost:1420",
|
|
"beforeDevCommand": "bun run build:sidecars && bun run dev",
|
|
"beforeBuildCommand": "bun run build && bun run build:sidecars"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"title": "Heicode",
|
|
"width": 1440,
|
|
"height": 960,
|
|
"minWidth": 960,
|
|
"minHeight": 640,
|
|
"decorations": false,
|
|
"transparent": false,
|
|
"acceptFirstMouse": true,
|
|
"titleBarStyle": "Overlay",
|
|
"hiddenTitle": true
|
|
}
|
|
],
|
|
"security": {
|
|
"dangerousDisableAssetCspModification": ["style-src"],
|
|
"csp": "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: asset: https://asset.localhost; font-src 'self' data:; connect-src 'self' ws://127.0.0.1:* http://127.0.0.1:* ws://localhost:* http://localhost:*; media-src 'self' blob:"
|
|
}
|
|
},
|
|
"plugins": {
|
|
"updater": {
|
|
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEI3Q0FBOUQ2MTgwRkM4NjQKUldSa3lBOFkxcW5LdDhLUFZnNUlEdmllY0ZudjFhb2VXTUpSWmpkUmM1cjdoNDFwRW1MZTN5Yi8K",
|
|
"endpoints": [
|
|
"https://heicodeblob.blob.core.windows.net/msi/updater/latest.json"
|
|
],
|
|
"windows": {
|
|
"installMode": "passive"
|
|
}
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"createUpdaterArtifacts": true,
|
|
"windows": {
|
|
"nsis": {
|
|
"installerHooks": "windows-installer-hooks.nsh"
|
|
}
|
|
},
|
|
"externalBin": [
|
|
"binaries/heicode-sidecar"
|
|
],
|
|
"resources": [],
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
],
|
|
"macOS": {
|
|
"dmg": {
|
|
"appPosition": {
|
|
"x": 180,
|
|
"y": 170
|
|
},
|
|
"applicationFolderPosition": {
|
|
"x": 480,
|
|
"y": 170
|
|
},
|
|
"windowSize": {
|
|
"width": 660,
|
|
"height": 400
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|