Desktop: Fixes #6860: Made "Open profile directory" work on Windows (#6861)

pull/6858/head^2
Self Not Found 2022-09-18 03:19:12 +08:00 committed by GitHub
parent c16445bc2f
commit 62eee4df56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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() {