tauri.conf.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "$schema": "../../core/config-schema/schema.json",
  3. "build": {
  4. "distDir": ["index.html"],
  5. "devPath": ["index.html"],
  6. "withGlobalTauri": true
  7. },
  8. "package": {
  9. "productName": "Multi Window",
  10. "version": "0.1.0"
  11. },
  12. "tauri": {
  13. "bundle": {
  14. "active": true,
  15. "targets": "all",
  16. "identifier": "com.tauri.dev",
  17. "icon": [
  18. "../.icons/32x32.png",
  19. "../.icons/128x128.png",
  20. "../.icons/128x128@2x.png",
  21. "../.icons/icon.icns",
  22. "../.icons/icon.ico"
  23. ],
  24. "resources": [],
  25. "externalBin": [],
  26. "copyright": "",
  27. "category": "DeveloperTool"
  28. },
  29. "allowlist": {
  30. "window": {
  31. "create": true
  32. }
  33. },
  34. "windows": [
  35. {
  36. "label": "Main",
  37. "title": "Tauri - Main",
  38. "tabbingIdentifier": "Main",
  39. "width": 800,
  40. "height": 600
  41. },
  42. {
  43. "label": "Secondary",
  44. "title": "Tauri - Secondary",
  45. "tabbingIdentifier": "Secondary",
  46. "width": 600,
  47. "height": 400
  48. }
  49. ],
  50. "security": {
  51. "csp": "default-src 'self'"
  52. },
  53. "updater": {
  54. "active": false
  55. }
  56. }
  57. }