tauri.conf.json 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {
  2. "$schema": "https://schema.tauri.app/config/2",
  3. "productName": "XafPet",
  4. "version": "0.1.0",
  5. "identifier": "com.etotem.xafpet",
  6. "build": {
  7. "frontendDist": "../src"
  8. },
  9. "app": {
  10. "withGlobalTauri": true,
  11. "macOSPrivateApi": true,
  12. "windows": [
  13. {
  14. "label": "main",
  15. "title": "浠艾福桌面宠物",
  16. "width": 200,
  17. "height": 200,
  18. "transparent": true,
  19. "decorations": false,
  20. "shadow": false,
  21. "alwaysOnTop": true,
  22. "skipTaskbar": false,
  23. "resizable": false
  24. },
  25. {
  26. "label": "settings",
  27. "title": "设置",
  28. "url": "settings.html",
  29. "width": 360,
  30. "height": 640,
  31. "resizable": false,
  32. "visible": false
  33. }
  34. ],
  35. "security": {
  36. "csp": null
  37. }
  38. },
  39. "bundle": {
  40. "active": true,
  41. "targets": "all",
  42. "icon": [
  43. "icons/32x32.png",
  44. "icons/128x128.png",
  45. "icons/128x128@2x.png",
  46. "icons/icon.icns",
  47. "icons/icon.ico"
  48. ]
  49. }
  50. }