Skip to content

Commit

Permalink
Improve Windows system.ini file detection
Browse files Browse the repository at this point in the history
Signed-off-by: Stephan Pillhofer <[email protected]>
  • Loading branch information
StephanPillhofer committed Sep 23, 2022
1 parent fbf9846 commit 2c44209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export const getErrorMessage = (error: unknown) => {
}

export const matchesSystemIniFile = (text: string) => {
const match = text.match(/(; for 16-bit app support|drivers|mci|driver32|386enh|keyboard|boot|display)/gi)
const match = text.match(/; for 16-bit app support/gi)
return match !== null && match.length >= 1
}

Expand Down

0 comments on commit 2c44209

Please sign in to comment.