Skip to content

Commit

Permalink
Revert logging if the EOS overlay is enabled (#3404)
Browse files Browse the repository at this point in the history
  • Loading branch information
arielj authored Jan 7, 2024
1 parent 7ccc766 commit f6ef1bf
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/backend/logger/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import { formatSystemInfo, getSystemInfo } from '../utils/systeminfo'
import { appendFile, writeFile } from 'fs/promises'
import { gamesConfigPath } from 'backend/constants'
import { gameManagerMap } from 'backend/storeManagers'
import { isEnabled } from 'backend/storeManagers/legendary/eos_overlay/eos_overlay'
import { Winetricks } from 'backend/tools'
import { platform } from 'os'

Expand Down Expand Up @@ -429,16 +428,6 @@ class LogWriter {
`Game Settings: ${gameSettingsString}\n\n`
)

// log if EOS overlay is enabled for Epic games
if (runner === 'legendary') {
const enabled = await isEnabled(app_name)

await appendFile(
this.filePath,
`EOS Overlay enabled? ${enabled ? 'Yes' : 'No'}\n`
)
}

// log winetricks packages if not native
if (notNative) {
const winetricksPackages = await Winetricks.listInstalled(
Expand Down

0 comments on commit f6ef1bf

Please sign in to comment.