Files
opsxshell/src-tauri/tauri.conf.json
T
Logan.Li b0d0e3a5f3 feat(i18n): add multi-language support (ja/ko/vi/ru/zh-TW) with system auto-detection
- Extend AppLanguage to 7 locales: zh-CN, zh-TW, en, ja, ko, vi, ru
- Auto-detect system language via navigator.languages; fallback to English
- Add BCP47 locale mapping for date formatting and sorting
- Create 50 translation JSON files (5 languages × 10 namespaces, 1137 keys each)
- Update language selector with native language names
- Extend locale key parity test to cover all 7 languages (70 assertions)
- Add VNC/RDP desktop, serial terminal, AI agent, port forwarding, and SFTP features
- Add credential encryption, host metrics, session backup crypto, and zmodem bridge
- Update Rust backend: desktop services, host metrics, SSH/SFTP enhancements
2026-08-12 00:07:48 +08:00

61 lines
1.5 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "OpsXShell",
"version": "2.1.1",
"identifier": "com.opsxshell.desktop",
"build": {
"beforeDevCommand": "npm run dev:ui",
"devUrl": "http://127.0.0.1:1420",
"beforeBuildCommand": "npm run build:ui",
"frontendDist": "../dist"
},
"app": {
"windows": [
{
"label": "main",
"title": "OpsXShell",
"width": 1280,
"height": 800,
"minWidth": 1024,
"minHeight": 700,
"resizable": true,
"decorations": true,
"transparent": false
}
],
"security": {
"csp": "default-src 'self'; connect-src 'self' ipc: http://ipc.localhost http://127.0.0.1:1420 ws://127.0.0.1:1420; img-src 'self' asset: data: blob:; style-src 'self' 'unsafe-inline'; font-src 'self' data:; script-src 'self'",
"dangerousDisableAssetCspModification": [
"style-src"
]
}
},
"bundle": {
"active": true,
"targets": "all",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"macOS": {
"signingIdentity": "-"
},
"category": "DeveloperTool",
"shortDescription": "Professional SSH and SFTP workspace",
"longDescription": "A native, secure, cross-platform SSH, SFTP, terminal and port-forwarding workspace."
},
"plugins": {
"deep-link": {
"desktop": {
"schemes": [
"ssh",
"opsxshell"
]
}
}
}
}