Skip to content

Commit

Permalink
bring back windows check
Browse files Browse the repository at this point in the history
  • Loading branch information
pascal-fischer committed Nov 13, 2023
1 parent 0eefc12 commit 1d31a6e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/utils/common.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@


export const formatOS = (os) => {
if (os.startsWith("windows 10")) {
return "Windows 10";
}

if (os.startsWith("Darwin")) {
return os.replace("Darwin", "MacOS");
}
Expand Down

0 comments on commit 1d31a6e

Please sign in to comment.