diff options
Diffstat (limited to 'gui/src/main')
| -rw-r--r-- | gui/src/main/index.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/src/main/index.ts b/gui/src/main/index.ts index 635b0ad79e..92d51dba69 100644 --- a/gui/src/main/index.ts +++ b/gui/src/main/index.ts @@ -822,6 +822,9 @@ class ApplicationMain await shell.openExternal(url); } }); + IpcMainEventChannel.app.handleGetPathBaseName((filePath) => + Promise.resolve(path.basename(filePath)), + ); IpcMainEventChannel.navigation.handleSetHistory((history) => { this.navigationHistory = history; |
