tauri.conf.json 774 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "$schema": "https://schema.tauri.app/config/2",
  3. "productName": "盼达点餐",
  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. "plugins": {
  25. "sql": {
  26. "preload": ["sqlite:store.db"]
  27. }
  28. },
  29. "bundle": {
  30. "active": true,
  31. "targets": "all",
  32. "icon": [
  33. "icons/32x32.png",
  34. "icons/128x128.png",
  35. "icons/128x128@2x.png",
  36. "icons/icon.icns",
  37. "icons/icon.ico"
  38. ]
  39. }
  40. }