summaryrefslogtreecommitdiff
path: root/desktop/node_modules/cross-spawn-windows-exe/dist/src/arch.js
blob: e9ed6a3ba459e690451ac5fe2c63558013332233 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.is64BitArch = void 0;
// List of Node.js-formatted 64 bit arches
const SIXTY_FOUR_BIT_ARCHES = ["arm64", "x64"];
/**
 * Determines whether the given architecture is a 64-bit arch.
 *
 * @param arch - a Node.js-style architecture name
 */
function is64BitArch(arch) {
    return SIXTY_FOUR_BIT_ARCHES.includes(arch);
}
exports.is64BitArch = is64BitArch;
//# sourceMappingURL=arch.js.map