We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83d2301 commit a2d1a98Copy full SHA for a2d1a98
main/pages/settings/debug.vue
@@ -116,7 +116,7 @@ platformInfo.value = currentPlatform;
116
async function openDataDir() {
117
if (!dataDir.value) return;
118
try {
119
- await open(dataDir.value);
+ await invoke("open_fs", { path: dataDir.value });
120
} catch (error) {
121
console.error("Failed to open data dir:", error);
122
}
@@ -126,7 +126,7 @@ async function openLogFile() {
126
127
128
const logPath = `${dataDir.value}/drop.log`;
129
- await open(logPath);
+ await invoke("open_fs", { path: logPath });
130
131
console.error("Failed to open log file:", error);
132
0 commit comments