MCPcopy Create free account
hub / github.com/tiann/hapi / ensureTunwgExecutable

Function ensureTunwgExecutable

cli/src/runtime/assets.ts:77–86  ·  view source on GitHub ↗
(runtimeRoot: string)

Source from the content-addressed store, hash-verified

75}
76
77function 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
88function unpackTools(runtimeRoot: string): void {
89 const platformDir = getPlatformDir();

Callers 1

ensureRuntimeAssetsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected