Prettified Code!

This commit is contained in:
Mashintime 2023-03-28 23:29:51 +00:00 committed by GitHub Action
parent 3193ad1e85
commit 273d4589a5

View file

@ -593,15 +593,15 @@ window.addEventListener("DOMContentLoaded", () => {
break; break;
case "win32": case "win32":
case "win64": case "win64":
if (rigctld.indexOf(" ") > -1) if (rigctld.indexOf(" ") > -1) rigctld = '"' + rigctld + '"';
rigctld = "\"" + rigctld + "\"";
break; break;
default: default:
console.log("Unhandled OS Platform: ", os.platform()); console.log("Unhandled OS Platform: ", os.platform());
break; break;
} }
rigctld += " " + document.getElementById("hamlib_rigctld_command").value + " -vv"; rigctld +=
" " + document.getElementById("hamlib_rigctld_command").value + " -vv";
document.getElementById("btnHamlibCopyCommandBi").classList = document.getElementById("btnHamlibCopyCommandBi").classList =
"bi bi-clipboard2-check-fill"; "bi bi-clipboard2-check-fill";
clipboard.writeText(rigctld); clipboard.writeText(rigctld);
@ -2446,9 +2446,6 @@ ipcRenderer.on("action-update-daemon-state", (event, arg) => {
document.getElementById("audio_output_selectbox").add(option); document.getElementById("audio_output_selectbox").add(option);
} }
} }
}); });
// ACTION UPDATE HAMLIB TEST // ACTION UPDATE HAMLIB TEST