Skip to content

Commit

Permalink
Prettier fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Snaggly committed Nov 5, 2024
1 parent d62af30 commit 74a0c7f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/backend/launcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,9 @@ async function prepareWineLaunch(
writeFileSync(appsNamesPath, JSON.stringify([appName]), 'utf-8')
hasUpdated = true
} else {
const installedGames : string[] = JSON.parse(readFileSync(appsNamesPath, 'utf-8'))
const installedGames: string[] = JSON.parse(
readFileSync(appsNamesPath, 'utf-8')
)
if (!installedGames.includes(appName)) {
installedGames.push(appName)
writeFileSync(appsNamesPath, JSON.stringify(installedGames), 'utf-8')
Expand Down

0 comments on commit 74a0c7f

Please sign in to comment.