From 21eda9d9c35a09c5fbcd1c08dfd8ceba7101d6d7 Mon Sep 17 00:00:00 2001 From: Stewart Allen Date: Sun, 16 Nov 2025 17:29:27 -0500 Subject: [PATCH] hide install menu in onshape --- src/main/kiri.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/kiri.js b/src/main/kiri.js index 918898a5..12dcd558 100644 --- a/src/main/kiri.js +++ b/src/main/kiri.js @@ -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');