hide install menu in onshape

This commit is contained in:
Stewart Allen 2025-11-16 17:29:27 -05:00
commit 21eda9d9c3

View file

@ -58,6 +58,10 @@ function checkReady() {
bootctrl.postMessage({ clear: true, disable: true });
location.reload();
}
} else if (api.onshape) {
$('install').classList.add('hide');
$('uninstall').classList.add('hide');
$('app-quit').classList.add('hide');
} else {
$('install').onclick = () => {
location.replace('/boot');