Update websocket.js

This commit is contained in:
Namhyeon Go 2021-06-21 04:19:34 +09:00 committed by GitHub
parent 9f3fe327d6
commit 59cfb65494
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ var WebsocketObject = function() {
} else { } else {
var arch = SYS.getArch(); var arch = SYS.getArch();
if (this.isSSL) { if (!this.isSSL) {
if(arch.indexOf("64") > -1) { if(arch.indexOf("64") > -1) {
this.binPath = "bin\\websocat_nossl_win64"; this.binPath = "bin\\websocat_nossl_win64";
} else { } else {
@ -50,7 +50,7 @@ var WebsocketObject = function() {
try { try {
FILE.writeFile(FN, msg); FILE.writeFile(FN, msg);
return SHELL.exec([ return SHELL.run([
this.binPath, this.binPath,
"-n1", "-n1",
"-t", "-t",