MCPcopy Create free account
hub / github.com/code3-dev/dengvpn / getAssetPath

Function getAssetPath

main.js:46–48  ·  view source on GitHub ↗
(relativePath)

Source from the content-addressed store, hash-verified

44
45// Use the global asset path for any file references
46function getAssetPath(relativePath) {
47 return path.join(global.__assetsdir || path.join(__dirname, 'assets'), relativePath);
48}
49
50// Function to get the preload script path
51function getPreloadPath() {

Callers 2

createSplashFunction · 0.85
createWindowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected