MCPcopy
hub / github.com/wavetermdev/waveterm / getElectronAppBasePath

Function getElectronAppBasePath

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

Source from the content-addressed store, hash-verified

149}
150
151function getElectronAppBasePath(): string {
152 // import.meta.dirname in dev points to waveterm/dist/main
153 return path.dirname(import.meta.dirname);
154}
155
156function getElectronAppUnpackedBasePath(): string {
157 return getElectronAppBasePath().replace("app.asar", "app.asar.unpacked");

Callers 6

constructorMethod · 0.90
constructorMethod · 0.90
createBuilderWindowFunction · 0.90
emain.tsFile · 0.90
emain-platform.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected