From ae187b6d75c8079da0be1dc288613bad8466fe61 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Tue, 24 Oct 2023 17:43:37 +0200 Subject: Initial commit --- .../node_modules/cross-spawn-windows-exe/dist/src/arch.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 desktop/node_modules/cross-spawn-windows-exe/dist/src/arch.js (limited to 'desktop/node_modules/cross-spawn-windows-exe/dist/src/arch.js') 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 -- cgit