neutralino.config.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "$schema": "https://raw.githubusercontent.com/neutralinojs/neutralinojs/main/schemas/neutralino.config.schema.json",
  3. "applicationId": "com.markdownviewer.desktop",
  4. "version": "3.7.4",
  5. "defaultMode": "window",
  6. "port": 0,
  7. "documentRoot": "/resources/",
  8. "url": "/",
  9. "enableServer": true,
  10. "enableNativeAPI": true,
  11. "tokenSecurity": "one-time",
  12. "logging": {
  13. "enabled": false,
  14. "writeToLogFile": false
  15. },
  16. "nativeAllowList": [
  17. "app.exit",
  18. "os.showOpenDialog",
  19. "os.showSaveDialog",
  20. "os.showMessageBox",
  21. "os.open",
  22. "os.setTray",
  23. "filesystem.readFile",
  24. "filesystem.writeFile"
  25. ],
  26. "globalVariables": {},
  27. "modes": {
  28. "window": {
  29. "title": "Markdown Viewer",
  30. "width": 1280,
  31. "height": 720,
  32. "minWidth": 400,
  33. "minHeight": 200,
  34. "center": true,
  35. "fullScreen": false,
  36. "alwaysOnTop": false,
  37. "icon": "/resources/assets/icon.jpg",
  38. "enableInspector": false,
  39. "borderless": false,
  40. "maximize": false,
  41. "hidden": false,
  42. "resizable": true,
  43. "exitProcessOnClose": true
  44. },
  45. "browser": {
  46. "globalVariables": {},
  47. "nativeBlockList": ["filesystem.*"]
  48. },
  49. "cloud": {
  50. "url": "/resources/#cloud",
  51. "nativeAllowList": ["app.*"]
  52. },
  53. "chrome": {
  54. "width": 1280,
  55. "height": 720,
  56. "args": "--user-agent=\"Neutralinojs chrome mode\"",
  57. "nativeBlockList": ["filesystem.*", "os.*"]
  58. }
  59. },
  60. "cli": {
  61. "binaryName": "markdown-viewer",
  62. "resourcesPath": "/resources/",
  63. "extensionsPath": "/extensions/",
  64. "clientLibrary": "/resources/js/neutralino.js",
  65. "binaryVersion": "6.5.0",
  66. "clientVersion": "6.5.0"
  67. }
  68. }