MCPcopy Create free account
hub / github.com/GCWing/BitFun / shouldCopySiblingRuntimeFile

Function shouldCopySiblingRuntimeFile

BitFun-Installer/scripts/build-installer.cjs:128–144  ·  view source on GitHub ↗
(fileName, appExeBaseName)

Source from the content-addressed store, hash-verified

126}
127
128function shouldCopySiblingRuntimeFile(fileName, appExeBaseName) {
129 if (fileName === appExeBaseName) return false;
130 if (fileName === ".cargo-lock") return false;
131
132 const lower = fileName.toLowerCase();
133 if (
134 lower.endsWith(".pdb") ||
135 lower.endsWith(".d") ||
136 lower.endsWith(".exp") ||
137 lower.endsWith(".lib") ||
138 lower.endsWith(".ilk")
139 ) {
140 return false;
141 }
142
143 return true;
144}
145
146function getCandidateAppExePaths(mode) {
147 const preferredProfiles =

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected