Skip to content

Commit

Permalink
Update hardware info
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer committed Dec 13, 2022
1 parent 3273cac commit 6fdbd2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interface/windows/settings/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ export const about = async () => {
.replaceAll("(R)", "")
.replaceAll("(TM)", "")
.replace(/ +(?= )/g, "")
const memory = `${Math.round(parseInt(hardware[2]) / 1024 / 1024)}GB`
const memory = `${Math.round(parseInt(hardware[2]) / 1024 / 1024)} GB`
const osName = hardware[0]

const info = `Authme: ${build.version} \n\nTauri: ${tauriVersion}\n${browserName}: ${browserVersion}\n\nOS version: ${osName} ${osArch} ${osVersion}\nHardware info: ${cpu}${memory} RAM\n\nRelease date: ${build.date}\nBuild number: ${build.number}\n\nCreated by: Lőrik Levente`
const info = `Authme: ${build.version} \n\nTauri: ${tauriVersion}\n${browserName}: ${browserVersion}\n\nOS version: ${osName} ${osArch} ${osVersion}\nHardware info: ${cpu} ${memory} RAM\n\nRelease date: ${build.date}\nBuild number: ${build.number}\n\nCreated by: Lőrik Levente`

dialog.message(info)
clipboard.writeText(info)
Expand Down

0 comments on commit 6fdbd2b

Please sign in to comment.