Small changes and updating botinfo

This commit is contained in:
2024-01-22 12:26:11 +01:00
parent 4b5019e35c
commit 1d289715aa
3 changed files with 2 additions and 35 deletions

View File

@@ -24,7 +24,7 @@ export = {
const deps = Object.keys(castedDeps).map((p) => (`${p}@${castedDeps[p]}`).replace("^", "")).join(", ")
const devDeps = Object.keys(castedDevDeps).map((p) => (`${p}@${castedDevDeps[p]}`).replace("^", "")).join(", ")
const distro = execSync("cat os-release | grep 'PRETTY_NAME'").toString().replace("PRETTY_NAME=", "").replace(/"/g, "")
const distro = execSync("cat /etc/os-release | grep 'PRETTY_NAME'").toString().replace("PRETTY_NAME=", "").replace(/"/g, "")
if (os.platform() === "win32") {
osInfo = `> **OS:** \`Windows\`