defaultLibraryPtyPath property

String get defaultLibraryPtyPath

Implementation

static String get defaultLibraryPtyPath {
  if (Platform.isMacOS || Platform.isIOS) {
    return "libterminal_pty.framework/libterminal_pty";
  }
  if (Platform.isAndroid || Platform.isLinux) {
    if (Dart.executable_type == ExecutableType.cli) {
      return 'libterminal_library_pty.so';
    }
    return 'libterminal_pty.so';
  }

  if (Platform.isWindows) {
    return 'libterminal_pty.dll';
  }
  return "";
}