diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2024-08-08 13:37:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-08 13:37:56 +0200 |
commit | 060c27a077321b2c88f00798dabc5d3baca4226b (patch) | |
tree | 63848c30e8f8ae95da8baa2c0fca79523c64cf20 /src-vue | |
parent | 3362cd9b55021c1325fc573a90ee0be22497bdeb (diff) | |
parent | 3cab2a7852fdc4663c8c7f4df6a52b831e610e92 (diff) | |
download | FlightCore-060c27a077321b2c88f00798dabc5d3baca4226b.tar.gz FlightCore-060c27a077321b2c88f00798dabc5d3baca4226b.zip |
Merge branch 'main' into chore/bump-upload-artifact-actionchore/bump-upload-artifact-action
Diffstat (limited to 'src-vue')
-rw-r--r-- | src-vue/src/views/DeveloperView.vue | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src-vue/src/views/DeveloperView.vue b/src-vue/src/views/DeveloperView.vue index a08c73f3..19214157 100644 --- a/src-vue/src/views/DeveloperView.vue +++ b/src-vue/src/views/DeveloperView.vue @@ -65,6 +65,9 @@ <h3>Repair:</h3> + <el-button type="primary" @click="checkCgnat"> + Run tracert and collect hop count + </el-button> <el-button type="primary" @click="getInstalledMods"> Get installed mods @@ -330,6 +333,15 @@ export default defineComponent({ .then((message) => { showNotification(`NSProton Version`, message as string); }) .catch((error) => { showNotification(`Error`, error, "error"); }) }, + async checkCgnat() { + await invoke<string>("check_cgnat") + .then((message) => { + showNotification(message); + }) + .catch((error) => { + showErrorNotification(error); + }); + }, async copyReleaseNotesToClipboard() { navigator.clipboard.writeText(this.release_notes_text) .then(() => { |