getWindowsPath static method

String getWindowsPath()

Implementation

static String getWindowsPath() {
  const String name = "csound64.dll";
  for (int i = 0; i < windowsPaths.length; i++) {
    final String path = Path.join(windowsPaths[i], name);
    if (File(path).existsSync()) {
      return path;
    }
  }
  throw ("Csound path not found");
}