From ed131272d4bb37767c5790a65152d821b4a1d280 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8B=82=E7=94=B7=E9=A3=8E?= Date: Sun, 28 Dec 2025 23:20:29 +0800 Subject: [PATCH] fix(gui): open_log_dir not working (#1714) * fix(mobile): open_log_dir not working on android --- easytier-gui/src/pages/index.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/easytier-gui/src/pages/index.vue b/easytier-gui/src/pages/index.vue index c7994159..620772b5 100644 --- a/easytier-gui/src/pages/index.vue +++ b/easytier-gui/src/pages/index.vue @@ -4,6 +4,7 @@ import { type } from '@tauri-apps/plugin-os' import { invoke } from '@tauri-apps/api/core' import { writeText } from '@tauri-apps/plugin-clipboard-manager' +import { open } from '@tauri-apps/plugin-shell' import { exit } from '@tauri-apps/plugin-process' import { I18nUtils, RemoteManagement, Utils } from "easytier-frontend-lib" import type { MenuItem } from 'primevue/menuitem' @@ -254,6 +255,7 @@ const log_menu_items_popup: Ref = ref([ // console.log('open log dir', await getLogDirPath()) await open(await getLogDirPath()) }, + visible: () => type() !== 'android', }, { label: () => t('logging_copy_dir'),