Fix typical bugs

This commit is contained in:
Thomas Nordquist
2019-06-26 12:12:28 +02:00
parent fc5a5d2035
commit 188b5c6c16
5 changed files with 12 additions and 10 deletions

View File

@@ -180,7 +180,7 @@ class UpdateNotifier extends React.Component<Props, State> {
let regex: RegExp
if (os.platform() === 'darwin') {
regex = /\.dmg$/
} else if (os.platform() === 'darwin') {
} else if (os.platform() === 'win32') {
regex = /\.exe$/
} else {
regex = /\.AppImage$/