Kaydet (Commit) db170e42 authored tarafından Hakkı Dizdar's avatar Hakkı Dizdar

Bug Fix

üst f91d667a
......@@ -4,7 +4,7 @@ const { spawn } = require("child_process");
const handler = () => {
ipcMain.on("terminal", (_, data) => {
if (process.platform === "win32") {
spawn("start", ["cmd", "/c", "docker", "exec", "-it", data, "sh"]);
spawn("cmd", ["/c", "start", "docker", "exec", "-it", data, "sh"]);
} else {
spawn("exo-open", [
"--launch",
......@@ -18,7 +18,7 @@ const handler = () => {
}
});
ipcMain.on("viewer", (_, data) => {
spawn("remote-viewer", [`spice://localhost:${data}`]);
spawn("remote-viewer", [`spice://localhost:${data}`]);
});
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment