瀏覽代碼

Move wsproxy and web utils into utils/ subdir.

Joel Martin 15 年之前
父節點
當前提交
7210e79e04
共有 10 個文件被更改,包括 6 次插入6 次删除
  1. 4 4
      README.md
  2. 1 1
      tests/ws.py
  3. 1 1
      tests/wsencoding.py
  4. 0 0
      utils/Makefile
  5. 0 0
      utils/web.py
  6. 0 0
      utils/websocket.c
  7. 0 0
      utils/websocket.h
  8. 0 0
      utils/websocket.py
  9. 0 0
      utils/wsproxy.c
  10. 0 0
      utils/wsproxy.py

+ 4 - 4
README.md

@@ -60,16 +60,16 @@ Usage
 
 * run the python proxy:
 
-    `./wsproxy.py [listen_port] [vnc_host] [vnc_port]`
+    `./utils/wsproxy.py [listen_port] [vnc_host] [vnc_port]`
 
-    `./wsproxy.py 8787 localhost 5901`
+    `./utils/wsproxy.py 8787 localhost 5901`
 
 
 * run the mini python web server to serve the directory:
 
-    `./web.py PORT`
+    `./utils/web.py PORT`
 
-    `./web.py 8080`
+    `./utils/web.py 8080`
 
 * Point your web browser at http://localhost:8080/vnc.html
  (or whatever port you used above to run the web server).

+ 1 - 1
tests/ws.py

@@ -11,7 +11,7 @@ import random, time
 from base64 import b64encode, b64decode
 from select import select
 
-sys.path.insert(0,os.path.dirname(__file__) + "/../")
+sys.path.insert(0,os.path.dirname(__file__) + "/../utils/")
 from websocket import *
 
 buffer_size = 65536

+ 1 - 1
tests/wsencoding.py

@@ -12,7 +12,7 @@ from base64 import b64encode, b64decode
 from codecs import utf_8_encode, utf_8_decode
 from select import select
 
-sys.path.insert(0,os.path.dirname(__file__) + "/../")
+sys.path.insert(0,os.path.dirname(__file__) + "/../utils/")
 from websocket import *
 
 buffer_size = 65536

+ 0 - 0
Makefile → utils/Makefile


+ 0 - 0
web.py → utils/web.py


+ 0 - 0
websocket.c → utils/websocket.c


+ 0 - 0
websocket.h → utils/websocket.h


+ 0 - 0
websocket.py → utils/websocket.py


+ 0 - 0
wsproxy.c → utils/wsproxy.c


+ 0 - 0
wsproxy.py → utils/wsproxy.py