Sentry/assets/coffee/gpu.coffee
Gregory Ballantine fb1d0fc664
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Added a CPU info page with some rudimentary CPU temperature polling
2022-05-25 16:23:42 -04:00

11 lines
252 B
CoffeeScript

si = require('systeminformation')
window.onload = () ->
si.graphics()
.then((data) ->
document.getElementById('gpuInfo').innerText = data.controllers[0].model
console.log(data)
).catch((error) ->
console.error(error)
)