1st version of RemoteDesktop using wvnc

This commit is contained in:
lxsang
2018-10-02 10:01:09 +00:00
parent aa07c5a57a
commit d04fc7a2af
14 changed files with 194 additions and 52 deletions

View File

@ -1,24 +1,10 @@
# RemoteDesktop
This project is generated by AntOS Development Kit
# WVNC remote desktop
![](https://os.lxsang.me/repo/RemoteDesktop/RemoteDesktop.png)
## Howto
A web based VNC client allowing to control remote VNC desktop from browser. The application is based on **wvnc**, a protocol and API that uses web socket to communicate with remote VNC server.
1. Open the project.apj file with AntOSDK (simply double Click on it)
2. Modify the UI in *assets/scheme.html*
3. Modify application code in *coffees/main.coffee*
4. Modify CSS style in *css/main.css*
5. Other files need to be copied: put in to assets
Further information on **wvnc**: [https://blog.lxsang.me/post/id/23](https://blog.lxsang.me/post/id/23)
## Set up build target
Click **Menu> Build > Build Option** or simply hit **ALT-Y**
In the build options dialog, add or remove files that need to be
included into the build
Click **Save**
## Build application
* To build: **Menu > Build > Build** or **ALT-C**
* To build and run: **Menu > Build > Build and Run** or **CTRL-R**
* To release: **Menu > Build > Build release** or **ALT-P**
**Credit**
* antd-wvnc-plugin: [https://github.com/lxsang/antd-wvnc-plugin](https://github.com/lxsang/antd-wvnc-plugin)
* wvnc.js: [https://github.com/lxsang/wvnc.js](https://github.com/lxsang/wvnc.js)

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -0,0 +1,10 @@
afx-app-window[data-id="RemoteDesktop"] div[data-id="container"]
{
background-color: #272822;
}
afx-app-window[data-id="RemoteDesktop"] canvas[data-id="screen"]
{
border:0;
margin:0 auto;
}

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"app":"RemoteDesktop",
"name":"RemoteDesktop",
"name":"WVNC remote desktop",
"description":"",
"info":{
"author": "",
@ -8,6 +8,6 @@
},
"version":"0.0.1-a",
"category":"Other",
"iconclass":"fa fa-adn",
"icon": "icon.png",
"mimes":["none"]
}

Binary file not shown.