aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/views
diff options
context:
space:
mode:
Diffstat (limited to 'src-vue/src/views')
-rw-r--r--src-vue/src/views/DeveloperView.vue12
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(() => {