Copy SQLite main + sidecar files (-wal / -shm) when migrating paths.
(srcBase, destBase)
| 6732 | |
| 6733 | ipcMain.handle('open-path', async (event, path) => { |
| 6734 | try { |
| 6735 | if (isUrlModel(path)) { |
| 6736 | shell.openExternal(path.slice(5)); |
| 6737 | return true; |
| 6738 | } |
| 6739 | await shell.openPath(path); |
| 6740 | return true; |
| 6741 | } catch (error) { |
| 6742 | console.error('Error opening path:', error); |
| 6743 | throw error; |
| 6744 | } |
no outgoing calls
no test coverage detected