You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the instructions below, x.y.z is the version number you want to install.
4
+
5
+
# Windows
6
+
7
+
Download and install one of the Windows builds:
8
+
9
+
-**PeerViewer Setup x.y.z.exe** is a regular assisted installer that creates shortcuts, allows you to choose the installation directory, etc.
10
+
-**PeerViewer x.y.z.msi** is a Microsoft Windows Installer with additional commandline options (add /? for help) to support automated deployments and advanced usage.
11
+
-**PeerViewer x.y.z.exe** is a portable executable - it works out of the box, without installation steps. You'll have to create your own shortcut if you want one.
12
+
-**PeerViewer-x.y.z-win.zip** is an archive file that can be extracted to a manually created folder for do-it-yourself installations, including creating your own shortcut.
13
+
14
+
# Linux
15
+
16
+
## All-in-one bundles
17
+
18
+
These don't require any dependency installation.
19
+
20
+
-**PeerViewer-x.y.z.AppImage** is a portable binary that just works when you make it executable and start it. You'll have to create your own shortcut if you want one.
21
+
-**PeerViewer-1.3.0.tar.gz** is an archive file that can be extracted to a manually created folder for do-it-yourself installations, including creating your own shortcut.
22
+
23
+
## Debian/Ubuntu
24
+
25
+
To install the dependencies for the Debian/Ubuntu Linux .deb package, you may need to run or install something like:
And then install the PeerViewer_version_amd64.rpm file by double-clicking it or running something like:
57
-
58
-
`sudo rpm -i PeerViewer_version_amd64.deb`
59
-
60
-
## Snap package
61
-
62
-
The .snap package is untested as of yet but it should just work. If you're into snap, try it out and give some feedback!
33
+
See INSTALL.md
63
34
64
35
# Development
65
36
37
+
Tested with node v16.17.1 and npm v8.15.0 but should work with more recent versions too.
38
+
66
39
## Install dependencies
67
40
68
41
To install the dependencies from package.json using the specific version from package-lock.json, run:
@@ -71,10 +44,16 @@ To install the dependencies from package.json using the specific version from pa
71
44
72
45
## Download and extract TigerVNC
73
46
74
-
Before starting the app, first make sure you have downloaded and extracted the TigerVNC software:
47
+
Before starting the app, first make sure you have downloaded and extracted the VNC software.
48
+
49
+
On Linux:
75
50
76
51
`./vnc-software/download_tigervnc.sh`
77
52
53
+
On Windows:
54
+
55
+
`./vnc-software/download_uvnc.sh`
56
+
78
57
## Start the app
79
58
80
59
To start the PeerViewer standalone Electron app, do:
@@ -85,9 +64,10 @@ You can enable Chrome Developer Tools by setting "devTools: true" in src/main.js
85
64
86
65
## Build a release
87
66
88
-
To build a release, have a look at the interactive script:
67
+
To build a release, have a look at the interactive scripts:
89
68
90
-
`./release.sh`
69
+
`./build_release_linux.sh # only tested on a Linux machine`
70
+
`./build_release_windows.sh # needs to be done on a Windows machine, more info in the script itself`
91
71
92
72
## Run as webapp
93
73
@@ -100,9 +80,11 @@ Note that the VNC client and server binaries don't work in the webapp, and neith
100
80
To get this working in a webbrowser as a webapp, it should be possible to integrate https://novnc.com/ as the VNC Client and use the HolePunch DHT websocket relay for connections.
101
81
For the server-side, it might be possible to build a browser-based VNC server using https://developer.mozilla.org/en-US/docs/Web/API/Screen_Capture_API/
102
82
103
-
# Windows
83
+
## Windows
84
+
85
+
Development can also be done on Windows, and it's also required to build releases for Windows.
86
+
87
+
Just install node and npm, for example using https://github.com/nodists/nodist/releases
104
88
105
-
Install git for Windows with those many handy Linux and Bash commands.
And it's also recommdned to install Git For Windows to have bash and many more handy commandline tools that are used by the .sh scripts in this project.
0 commit comments