From c238711b3e42675047dba4de5076208679336bbb Mon Sep 17 00:00:00 2001 From: MacRimi Date: Thu, 29 Jan 2026 20:03:39 +0100 Subject: [PATCH] Update hardware.tsx --- AppImage/components/hardware.tsx | 39 ++++++++++++++++++++++++++++---- 1 file changed, 35 insertions(+), 4 deletions(-) diff --git a/AppImage/components/hardware.tsx b/AppImage/components/hardware.tsx index 3016de6d..67186f4c 100644 --- a/AppImage/components/hardware.tsx +++ b/AppImage/components/hardware.tsx @@ -229,6 +229,7 @@ export default function Hardware() { const [showNvidiaInstaller, setShowNvidiaInstaller] = useState(false) const [installingNvidiaDriver, setInstallingNvidiaDriver] = useState(false) const [showAmdInstaller, setShowAmdInstaller] = useState(false) + const [showIntelInstaller, setShowIntelInstaller] = useState(false) const fetcher = async (url: string) => { const data = await fetchApi(url) @@ -255,6 +256,11 @@ export default function Hardware() { setShowAmdInstaller(true) } + const handleInstallIntelTools = () => { + console.log("[v0] Opening Intel GPU tools installer terminal") + setShowIntelInstaller(true) + } + useEffect(() => { if (!selectedGPU) return @@ -1114,6 +1120,17 @@ export default function Hardware() { )} + {selectedGPU.vendor.toLowerCase().includes("intel") && ( + + )} @@ -2067,9 +2084,23 @@ export default function Hardware() { params={{ EXECUTION_MODE: "web", }} - title="AMD GPU Tools Installation" - description="Installing amdgpu_top for AMD GPU monitoring..." - /> - +title="AMD GPU Tools Installation" + description="Installing amdgpu_top for AMD GPU monitoring..." + /> + { + setShowIntelInstaller(false) + mutateHardware() + }} + scriptPath="/usr/local/share/proxmenux/scripts/gpu_tpu/intel_gpu_tools.sh" + scriptName="intel_gpu_tools" + params={{ + EXECUTION_MODE: "web", + }} + title="Intel GPU Tools Installation" + description="Installing intel-gpu-tools for Intel GPU monitoring..." + /> + ) }