(runtimeRoot: string)
| 75 | } |
| 76 | |
| 77 | function ensureTunwgExecutable(runtimeRoot: string): void { |
| 78 | if (platform() === 'win32') { |
| 79 | return; |
| 80 | } |
| 81 | |
| 82 | const tunwgPath = join(runtimeRoot, 'tools', 'tunwg', 'tunwg'); |
| 83 | if (existsSync(tunwgPath)) { |
| 84 | chmodSync(tunwgPath, 0o755); |
| 85 | } |
| 86 | } |
| 87 | |
| 88 | function unpackTools(runtimeRoot: string): void { |
| 89 | const platformDir = getPlatformDir(); |
no outgoing calls
no test coverage detected