You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-desktop/ts
jython234 84759d813e Modify OS.isWindows to check platform before version (#2407)
* Modify OS.isWindows to check if OS is Windows first before checking version.

Previously OS.isWindows checked if the windows version matched the one required. This worked fine, except for the fact that it would end up comparing a linux kernel version to a windows version as it didn't check if the platform was Windows in the first place before.

This caused issues as it would throw an error when comparing with non-semver linux kernels (such as Fedora). Now it checks if the current platform is Windows first, and if not, immediately returns false.

Resolves: #2396

* Fix formatting for OS.ts
7 years ago
..
backbone Remove `@prettier` pragmas 7 years ago
components Move to react for newlines, emoji, and links in message body 7 years ago
html Format all source code using Prettier 7 years ago
notifications Use native notifications on all platforms 7 years ago
protobuf Compile all protocol buffers 7 years ago
styleguide Parse phone numbers into e164 as part of schema upgrade 7 years ago
styles Port `colorSVG` from Sass to TypeScript (React) 7 years ago
test Fall back on givenName/familyName if no displayName/organization 7 years ago
types Fix a few types: relax contact, Email->Phone 7 years ago
util Move phone number format/parse into ts/types/PhoneNumber 7 years ago
OS.ts Modify OS.isWindows to check platform before version (#2407) 7 years ago