mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-17 16:46:31 +00:00
Add proper socket permissions for running as an extension
This commit is contained in:
parent
e9870cde4f
commit
0eca514621
1
Makefile
1
Makefile
@ -12,6 +12,7 @@ include $(NACL_SDK_ROOT)/tools/common.mk
|
|||||||
# Dirty hack to allow 'make serve' to work in this directory
|
# Dirty hack to allow 'make serve' to work in this directory
|
||||||
HTTPD_PY := $(HTTPD_PY) --no-dir-check
|
HTTPD_PY := $(HTTPD_PY) --no-dir-check
|
||||||
|
|
||||||
|
CHROME_ARGS += --allow-nacl-socket-api=localhost
|
||||||
|
|
||||||
LIBS = ppapi_gles2 ppapi ppapi_cpp pthread nacl_io
|
LIBS = ppapi_gles2 ppapi ppapi_cpp pthread nacl_io
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "Moonlight Chrome",
|
"name": "Moonlight",
|
||||||
"version": "0.01",
|
"version": "0.01",
|
||||||
"description": "A Moonlight streaming plugin for Google Chrome",
|
"description": "A Moonlight streaming plugin for Google Chrome",
|
||||||
"icons": {
|
"icons": {
|
||||||
@ -15,6 +15,14 @@
|
|||||||
"scripts": ["background.js"]
|
"scripts": ["background.js"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"permissions": ["fullscreen"]
|
"permissions": [
|
||||||
|
"fullscreen", {
|
||||||
|
"socket": [
|
||||||
|
"tcp-connect",
|
||||||
|
"resolve-host",
|
||||||
|
"udp-bind:*:*",
|
||||||
|
"udp-send-to:*:*"
|
||||||
|
] }
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user