Skip to content

Commit

Permalink
Merge pull request #424 from justanotheranonymoususer/patch-1
Browse files Browse the repository at this point in the history
Fixed Windows version detection
  • Loading branch information
inbasic authored Oct 4, 2016
2 parents 9cc65fc + 71c9a45 commit ed5636e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/wrapper/firefox/tray/winnt/tray.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var {Cc, Ci, Cu} = require('chrome'),
unload = require('sdk/system/unload'),
oscpu = Cc['@mozilla.org/network/protocol;1?name=http']
.getService(Ci.nsIHttpProtocolHandler).oscpu,
version = parseInt((/\d\.\d/.exec(oscpu) || ['0'])[0].replace('.', '')), // Windows Version
version = parseInt((/\d+\.\d+/.exec(oscpu) || ['0'])[0].replace('.', '')), // Windows Version
config = require('../../../../config');

var exportsHelper = {};
Expand Down

0 comments on commit ed5636e

Please sign in to comment.