diff options
Diffstat (limited to 'src-vue/src/views')
-rw-r--r-- | src-vue/src/views/SettingsView.vue | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src-vue/src/views/SettingsView.vue b/src-vue/src/views/SettingsView.vue index 0e5498e9..5dd4e2b9 100644 --- a/src-vue/src/views/SettingsView.vue +++ b/src-vue/src/views/SettingsView.vue @@ -13,6 +13,9 @@ </template> </el-input> <h3>About:</h3> + FlightCore Version: {{ flightcoreVersion === '' ? 'Unknown version' : `${flightcoreVersion}` }} + <br /> + <br /> UI design inspired by <el-link :underline="false" target="_blank" href="https://github.com/TFORevive/tforevive_launcher/" type="primary">TFORevive Launcher</el-link> (not yet public) </div> </template> @@ -26,6 +29,11 @@ import { ElNotification } from 'element-plus'; export default defineComponent({ name: "SettingsView", + computed: { + flightcoreVersion(): string { + return this.$store.state.flightcore_version; + }, + }, methods: { async updateGamePath() { // Open a selection dialog for directories |