()
| 33 | } |
| 34 | |
| 35 | export async function selectOutputDirectory(){ |
| 36 | const selectedDirectory = await ipcRenderer.invoke('dialog','showOpenDialog',{ properties: ['openDirectory'] }); |
| 37 | if(!selectedDirectory.canceled && (selectedDirectory.filePaths.length > 0)){ |
| 38 | GlobalSettings.record.directory = selectedDirectory.filePaths[0]; |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | export function writeDataIfRecording(data){ |
| 43 | try{ |
no outgoing calls
no test coverage detected