tauri.conf.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. "$schema": "../../../core/config-schema/schema.json",
  3. "build": {
  4. "distDir": ["../index.html"],
  5. "devPath": ["../index.html"],
  6. "beforeDevCommand": "",
  7. "beforeBuildCommand": ""
  8. },
  9. "package": {
  10. "productName": "Updater",
  11. "version": "0.1.0"
  12. },
  13. "tauri": {
  14. "bundle": {
  15. "active": true,
  16. "targets": "all",
  17. "identifier": "com.tauri.updater",
  18. "icon": [
  19. "../../.icons/32x32.png",
  20. "../../.icons/128x128.png",
  21. "../../.icons/128x128@2x.png",
  22. "../../.icons/icon.icns",
  23. "../../.icons/icon.ico"
  24. ],
  25. "resources": [],
  26. "externalBin": [],
  27. "copyright": "",
  28. "category": "DeveloperTool",
  29. "shortDescription": "",
  30. "longDescription": "",
  31. "deb": {
  32. "depends": []
  33. },
  34. "macOS": {
  35. "signingIdentity": null,
  36. "entitlements": "../entitlements.plist",
  37. "frameworks": [],
  38. "exceptionDomain": ""
  39. },
  40. "windows": {
  41. "certificateThumbprint": null,
  42. "digestAlgorithm": null,
  43. "timestampUrl": null,
  44. "wix": {
  45. "enableElevatedUpdateTask": false
  46. }
  47. }
  48. },
  49. "allowlist": {
  50. "all": false
  51. },
  52. "windows": [
  53. {
  54. "title": "Welcome to Tauri!",
  55. "width": 800,
  56. "height": 600,
  57. "resizable": true,
  58. "fullscreen": false
  59. }
  60. ],
  61. "security": {
  62. "csp": "default-src 'self'"
  63. },
  64. "updater": {
  65. "active": true,
  66. "dialog": true,
  67. "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDE5QzMxNjYwNTM5OEUwNTgKUldSWTRKaFRZQmJER1h4d1ZMYVA3dnluSjdpN2RmMldJR09hUFFlZDY0SlFqckkvRUJhZDJVZXAK",
  68. "endpoints": [
  69. "https://tauri-update-server.vercel.app/update/{{target}}/{{current_version}}"
  70. ]
  71. }
  72. }
  73. }