(fileName, appExeBaseName)
| 126 | } |
| 127 | |
| 128 | function 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 | |
| 146 | function getCandidateAppExePaths(mode) { |
| 147 | const preferredProfiles = |