MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / getWaveSrvPath

Function getWaveSrvPath

emain/emain-platform.ts:170–177  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

168const wavesrvBinName = `wavesrv.${unameArch}`;
169
170function getWaveSrvPath(): string {
171 if (process.platform === "win32") {
172 const winBinName = `${wavesrvBinName}.exe`;
173 const appPath = path.join(getElectronAppUnpackedBasePath(), "bin", winBinName);
174 return `${appPath}`;
175 }
176 return path.join(getElectronAppUnpackedBasePath(), "bin", wavesrvBinName);
177}
178
179function getWaveSrvCwd(): string {
180 return getWaveDataDir();

Callers 1

runWaveSrvFunction · 0.90

Calls 1

Tested by

no test coverage detected