diff --git a/static/electron-stubs.notjs b/static/electron-stubs.notjs index 071aefe62..dd82c0a36 100644 --- a/static/electron-stubs.notjs +++ b/static/electron-stubs.notjs @@ -10,7 +10,7 @@ }; }, app: { - getVersion: function() {return '1';}, + getVersion: function() {return global.__VERSION__ || '1';}, getName: function() {return '';} }, shell: {