import * as macos from "./macos.js";

export function getDesktopAdapter() {
  if (process.platform === "darwin") return macos;

  const error = new Error(`Unsupported platform for this prototype: ${process.platform}`);
  error.statusCode = 501;
  throw error;
}
