diff options
author | RaindropsSys <raindrops@equestria.dev> | 2023-10-24 17:43:37 +0200 |
---|---|---|
committer | RaindropsSys <raindrops@equestria.dev> | 2023-10-24 17:43:37 +0200 |
commit | ae187b6d75c8079da0be1dc288613bad8466fe61 (patch) | |
tree | 5ea0d34185a2270f29ffaa65e1f5258028d7d5d0 /desktop/node_modules/cross-spawn-windows-exe/dist/src/arch.js | |
download | mist-ae187b6d75c8079da0be1dc288613bad8466fe61.tar.gz mist-ae187b6d75c8079da0be1dc288613bad8466fe61.tar.bz2 mist-ae187b6d75c8079da0be1dc288613bad8466fe61.zip |
Initial commit
Diffstat (limited to 'desktop/node_modules/cross-spawn-windows-exe/dist/src/arch.js')
-rw-r--r-- | desktop/node_modules/cross-spawn-windows-exe/dist/src/arch.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/desktop/node_modules/cross-spawn-windows-exe/dist/src/arch.js b/desktop/node_modules/cross-spawn-windows-exe/dist/src/arch.js new file mode 100644 index 0000000..e9ed6a3 --- /dev/null +++ b/desktop/node_modules/cross-spawn-windows-exe/dist/src/arch.js @@ -0,0 +1,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
\ No newline at end of file |