tauri.conf.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. {
  2. "build": {
  3. "beforeDevCommand": "npm run dev",
  4. "beforeBuildCommand": "npm run build",
  5. "devPath": "http://localhost:5173",
  6. "distDir": "../dist",
  7. "withGlobalTauri": false
  8. },
  9. "package": {
  10. "productName": "steamSH",
  11. "version": "0.1.0"
  12. },
  13. "tauri": {
  14. "allowlist": {
  15. "all": false,
  16. "dialog": {
  17. "all": true
  18. },
  19. "shell": {
  20. "all": false,
  21. "open": true
  22. },
  23. "fs": {
  24. "all": false,
  25. "readFile": true,
  26. "writeFile": true,
  27. "readDir": true,
  28. "copyFile": true,
  29. "createDir": true,
  30. "removeDir": true,
  31. "removeFile": true,
  32. "renameFile": true,
  33. "exists": true,
  34. "scope": ["$APPDATA/*", "$DATA/*"]
  35. },
  36. "path": {
  37. "all": true
  38. },
  39. "window": {
  40. "close": true
  41. }
  42. },
  43. "bundle": {
  44. "active": true,
  45. "targets": "all",
  46. "identifier": "com.yourcompany.buff-client",
  47. "externalBin": [],
  48. "resources": [],
  49. "copyright": "",
  50. "icon": [
  51. "icons/icon.ico"
  52. ],
  53. "category": "DeveloperTool",
  54. "shortDescription": "Steam求购工具",
  55. "longDescription": "Steam求购客户端工具",
  56. "deb": {
  57. "depends": []
  58. },
  59. "macOS": {
  60. "frameworks": [],
  61. "minimumSystemVersion": "",
  62. "exceptionDomain": "",
  63. "signingIdentity": null,
  64. "providerShortName": null,
  65. "entitlements": null
  66. },
  67. "windows": {
  68. "certificateThumbprint": null,
  69. "digestAlgorithm": "sha256",
  70. "timestampUrl": "",
  71. "webviewInstallMode": {
  72. "type": "embedBootstrapper",
  73. "silent": false
  74. },
  75. "nsis": {
  76. "languages": ["SimpChinese", "English"],
  77. "displayLanguageSelector": true,
  78. "installerIcon": "icons/icon.ico",
  79. "headerImage": "icons/icon.ico",
  80. "sidebarImage": "icons/icon.ico",
  81. "license": "license.txt",
  82. "template": "nsis/installer.nsi"
  83. }
  84. }
  85. },
  86. "updater": {
  87. "active": false
  88. },
  89. "security": {
  90. "csp": null
  91. },
  92. "windows": [
  93. {
  94. "fullscreen": false,
  95. "resizable": true,
  96. "title": "Steam求购",
  97. "decorations": true,
  98. "width": 1200,
  99. "height": 800,
  100. "minWidth": 800,
  101. "minHeight": 600,
  102. "center": true
  103. }
  104. ]
  105. }
  106. }