From 7c643b209ac7f7eb936b438fdbec9637fc1cf19b Mon Sep 17 00:00:00 2001 From: portree_kid Date: Mon, 25 May 2020 22:00:01 +0200 Subject: [PATCH] Show versionnumber --- src/renderer/components/FlightgearMap.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/renderer/components/FlightgearMap.vue b/src/renderer/components/FlightgearMap.vue index a422d75..ddef5c4 100644 --- a/src/renderer/components/FlightgearMap.vue +++ b/src/renderer/components/FlightgearMap.vue @@ -82,7 +82,10 @@ data () { return { url: 'https://a.tile.openstreetmap.de/{z}/{x}/{y}.png', - attribution: ' © OpenStreetMap contributors', + attribution: 'Flightgear Airports ' + require('electron').remote.app.getVersion() + + ' Electron ' + + ' element.io ' + + ' © OpenStreetMap contributors', marker: L.latLng(47.413220, -1.219482), airports: this.$store.state.Airports.airports, options: {editable: true},