Skip to content

Commit 10de4df

Browse files
Fix password on Windows
1 parent 9cd5a23 commit 10de4df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ ipcMain.on('run-client', (event, data) => {
193193
let dirname = nodePath.dirname(foundBinary);
194194
clientChild = runProcess(foundBinary, ['SecurityTypes=VncAuth','PasswordFile='+dirname+nodePath.sep+'plain.bin','127.0.0.1::45900']);
195195
} else if (process.platform === 'win32') {
196-
clientChild = findAndRunProcess('uvnc-windows\\x64\\vncviewer.exe', ['/password nopassword','localhost:45900']);
196+
clientChild = findAndRunProcess('uvnc-windows\\x64\\vncviewer.exe', ['/password','nopassword','localhost:45900']);
197197
}
198198
if (!clientChild) {
199199
event.reply('run-client-log', "ERROR: Outgoing connection using vncviewer failed.");

0 commit comments

Comments
 (0)