tauri.conf.json 699 B

1234567891011121314151617181920212223242526272829303132333435
  1. {
  2. "$schema": "https://schema.tauri.app/config/2",
  3. "productName": "store-project",
  4. "version": "0.1.0",
  5. "identifier": "com.qihuan.store-app",
  6. "build": {
  7. "beforeDevCommand": "pnpm dev",
  8. "devUrl": "http://localhost:1420",
  9. "beforeBuildCommand": "pnpm build",
  10. "frontendDist": "../dist"
  11. },
  12. "app": {
  13. "windows": [
  14. {
  15. "title": "熊猫点餐",
  16. "width": 1200,
  17. "height": 800
  18. }
  19. ],
  20. "security": {
  21. "csp": null
  22. }
  23. },
  24. "bundle": {
  25. "active": true,
  26. "targets": "all",
  27. "icon": [
  28. "icons/32x32.png",
  29. "icons/128x128.png",
  30. "icons/128x128@2x.png",
  31. "icons/icon.icns",
  32. "icons/icon.ico"
  33. ]
  34. }
  35. }