MCPcopy
hub / github.com/meteor/meteor / getHostArch

Function getHostArch

tools/cli/dev-bundle.js:190–208  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

188}
189
190function getHostArch() {
191 if (process.platform === "win32") {
192 if (process.arch === "x64") {
193 return "os.windows.x86_64";
194 }
195 return "os.windows.x86_32";
196 }
197
198 if (process.platform === "linux") {
199 if (process.arch === "x64") {
200 return "os.linux.x86_64";
201 }
202 return "os.linux.x86_32";
203 }
204
205 if (process.platform === "darwin") {
206 return "os.osx.x86_64";
207 }
208}
209
210module.exports = getDevBundleDir().catch(function (error) {
211 return defaultDevBundlePromise;

Callers 1

getDevBundleForReleaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…