(platform: NodeJS.Platform)
| 136 | ) {} |
| 137 | |
| 138 | function executableFileName(platform: NodeJS.Platform): string { |
| 139 | return platform === "win32" ? "cloudflared.exe" : "cloudflared"; |
| 140 | } |
| 141 | |
| 142 | function resolveReleaseAsset( |
| 143 | platform: NodeJS.Platform, |