Sentry/assets/coffee/gpu.coffee

11 lines
252 B
CoffeeScript
Raw Permalink Normal View History

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)
)