return tuic(proxy); case 'wireguard-surge': return wireguard(proxy); return wireguard_surge(proxy); case 'hysteria2': return hysteria2(proxy); } if (opts['include-unsupported-proxy'] && proxy.type === 'wireguard') { return wireguard(proxy); } throw new Error( `Platform ${targetPlatform...