INNER CODE UNIT · JavaScript

response

stemrollerapp/stemroller · main-src/main.js:150

  const response = await dialog.showOpenDialog(mainWindow, {
    title: 'Select folder to store output stems',
    properties: ['openDirectory'],
  })
  if (response.filePaths.length === 1) {
    processQueue.setOutputPath(response.filePaths[0])
    return processQueue.getOutputPath()
  }
  return null
}

async function handleSetModelName(event, name) {
  return processQueue.setModelName(name)
}

async function handleSetLocalFileOutputToContainingDir(event, value) {
  return processQueue.setLocalFileOutputToContainingDir(value)
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…