Skip to content

Instantly share code, notes, and snippets.

@crazy4groovy
Created March 10, 2022 16:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crazy4groovy/92b5c6da8dcbe170f999997a79345f57 to your computer and use it in GitHub Desktop.
Save crazy4groovy/92b5c6da8dcbe170f999997a79345f57 to your computer and use it in GitHub Desktop.
Neutralinojs config file for ReactJs apps (working!) (JavaScript)
{
"applicationId": "js.neutralino.fpp",
"port": 0,
"version": "1.0.0",
"defaultMode": "window",
"documentRoot": "/",
"url": "/react-app/build/",
"enableServer": true,
"enableNativeAPI": true,
"tokenSecurity": "one-time",
"logging": {
"enabled": true,
"writeToLogFile": true
},
"nativeAllowList": [
"app.*",
"os.*",
"filesystem.*",
"window.*",
"storage.*",
"extensions.*"
],
"globalVariables": {},
"modes": {
"window": {
"title": "fpp-ui",
"width": 800,
"height": 500,
"minWidth": 400,
"minHeight": 200,
"icon": "/react-app/public/logo192.png",
"enableInspector": true,
"borderless": false,
"maximize": false,
"hidden": false,
"resizable": true,
"exitProcessOnClose": true
},
"browser": {
"globalVariables": {},
"nativeBlockList": ["filesystem.*"]
}
},
"cli": {
"binaryName": "fpp-ui",
"binaryVersion": "4.3.0",
"clientVersion": "3.2.0",
"extensionsPath": "/extensions/",
"resourcesPath": "/react-app/build/",
"clientLibrary": "/react-app/build/neutralino.js",
"frontendLibrary": {
"patchFile": "/react-app/public/index.html",
"devUrl": "http://localhost:3000"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment