From 62eee4df56e0ec6d66fe9aed54f090ed78a46a1d Mon Sep 17 00:00:00 2001 From: Self Not Found Date: Sun, 18 Sep 2022 03:19:12 +0800 Subject: [PATCH] Desktop: Fixes #6860: Made "Open profile directory" work on Windows (#6861) --- packages/app-desktop/bridge.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app-desktop/bridge.ts b/packages/app-desktop/bridge.ts index 1f7b0273a..06022e198 100644 --- a/packages/app-desktop/bridge.ts +++ b/packages/app-desktop/bridge.ts @@ -246,7 +246,7 @@ export class Bridge { } async openItem(fullPath: string) { - return require('electron').shell.openPath(fullPath); + return require('electron').shell.openPath(toSystemSlashes(fullPath)); } screen() {