mirror of
https://github.com/lone-cloud/gerbil
synced 2026-06-03 09:33:10 -07:00
Electron main process doesn't inherit shell PATH, so bare rocminfo/hipcc calls failed. Add ROCM_EXEC_OPTIONS that prepends /opt/rocm/bin to PATH. Add Vulkan fallback in detectROCm: when rocminfo returns empty (e.g. inside Flatpak sandbox where KFD ioctls fail) but hipcc --version succeeds, fall back to AMD GPUs sourced from Vulkan detection. Refactor driver version extraction into getDriverVersion() helper. Remove redundant hipccCommand ternary (both branches were identical). fix(flatpak): pull AppImage from GitHub releases instead of local path |
||
|---|---|---|
| .. | ||
| assets | ||
| components | ||
| constants | ||
| hooks | ||
| main | ||
| preload | ||
| stores | ||
| styles | ||
| types | ||
| utils | ||
| main.tsx | ||
| theme.ts | ||