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:
committed by
Facebook Github Bot
parent
6c0a534e15
commit
517262bbf2
@@ -10,7 +10,7 @@
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
app: {
|
app: {
|
||||||
getVersion: function() {return '1';},
|
getVersion: function() {return global.__VERSION__ || '1';},
|
||||||
getName: function() {return '';}
|
getName: function() {return '';}
|
||||||
},
|
},
|
||||||
shell: {
|
shell: {
|
||||||
|
|||||||
Reference in New Issue
Block a user