javascript - Unable to run a Screen share chrome app using electron -
i ran github app under chrome extenstion. when run using electron socket connection error in connection establishment: net::err_connection_refused
below package.json file. tried "chromium-args": "--allow-running-insecure-content --ignore-certificate-errors", did not help. there specific changes need make in package.json. trying learn let me know if information missing?
{ "name": "electron-app", "version": "1.0.0", "description": "", "main": "main.js", "icons": { "16": "icon.png", "128": "icon.png" }, "app": { "background": { "scripts": ["background.js"] } }, "sockets": { "udp": { "bind": "*", "send": "*" } }, "permissions": [ "system.network", "desktopcapture", "videocapture", "mdns" ], "dependencies": { "pretty-bytes": "^2.0.1" }, "devdependencies": { "electron-prebuilt": "^0.35.2" }, "scripts": { "start": "electron main.js" }, "author": "", "license": "isc" }
i don't believe it's possible run chrome app in electron @ time, may want try nw.js v0.13 beta instead.
Comments
Post a Comment