fix version number

Summary: The electron stub is used by the headless version of Flipper. For that reason, the version number was always `1`. The headless version has a the actual version written to a global variable. So let's use it here.

Reviewed By: passy

Differential Revision: D14149692

fbshipit-source-id: c4781987fd3201e67897eaf31627b0bb2970ffcb
This commit is contained in:
Daniel Büchele
2019-02-20 06:39:39 -08:00
committed by Facebook Github Bot
parent 6c0a534e15
commit 517262bbf2

View File

@@ -10,7 +10,7 @@
};
},
app: {
getVersion: function() {return '1';},
getVersion: function() {return global.__VERSION__ || '1';},
getName: function() {return '';}
},
shell: {