@highflame/overwatch-win32-arm64 2.0.3 → 2.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1,39 +1,39 @@
1
- /**
2
- * @highflame/overwatch-win32-arm64
3
- * Platform-specific binaries for Windows ARM64
4
- */
5
-
6
- const path = require('path');
7
- const fs = require('fs');
8
-
9
- const PLATFORM = 'win32';
10
- const ARCH = 'arm64';
11
- const RUST_TARGET = 'aarch64-pc-windows-msvc';
12
-
13
- function getRampartsBinaryPath() {
14
- const binaryName = `ramparts-${RUST_TARGET}.exe`;
15
- const binaryPath = path.join(__dirname, 'bin', binaryName);
16
-
17
- if (fs.existsSync(binaryPath)) {
18
- return binaryPath;
19
- }
20
-
21
- const genericPath = path.join(__dirname, 'bin', 'ramparts.exe');
22
- if (fs.existsSync(genericPath)) {
23
- return genericPath;
24
- }
25
-
26
- return null;
27
- }
28
-
29
- function isCurrentPlatform() {
30
- return process.platform === PLATFORM && process.arch === ARCH;
31
- }
32
-
33
- module.exports = {
34
- platform: PLATFORM,
35
- arch: ARCH,
36
- rustTarget: RUST_TARGET,
37
- getRampartsBinaryPath,
38
- isCurrentPlatform,
39
- };
1
+ /**
2
+ * @highflame/overwatch-win32-arm64
3
+ * Platform-specific binaries for Windows ARM64
4
+ */
5
+
6
+ const path = require('path');
7
+ const fs = require('fs');
8
+
9
+ const PLATFORM = 'win32';
10
+ const ARCH = 'arm64';
11
+ const RUST_TARGET = 'aarch64-pc-windows-msvc';
12
+
13
+ function getRampartsBinaryPath() {
14
+ const binaryName = `ramparts-${RUST_TARGET}.exe`;
15
+ const binaryPath = path.join(__dirname, 'bin', binaryName);
16
+
17
+ if (fs.existsSync(binaryPath)) {
18
+ return binaryPath;
19
+ }
20
+
21
+ const genericPath = path.join(__dirname, 'bin', 'ramparts.exe');
22
+ if (fs.existsSync(genericPath)) {
23
+ return genericPath;
24
+ }
25
+
26
+ return null;
27
+ }
28
+
29
+ function isCurrentPlatform() {
30
+ return process.platform === PLATFORM && process.arch === ARCH;
31
+ }
32
+
33
+ module.exports = {
34
+ platform: PLATFORM,
35
+ arch: ARCH,
36
+ rustTarget: RUST_TARGET,
37
+ getRampartsBinaryPath,
38
+ isCurrentPlatform,
39
+ };
package/package.json CHANGED
@@ -1,28 +1,28 @@
1
- {
2
- "name": "@highflame/overwatch-win32-arm64",
3
- "version": "v2.0.3",
4
- "description": "Platform-specific binaries for @highflame/overwatch (Windows ARM64)",
5
- "os": [
6
- "win32"
7
- ],
8
- "cpu": [
9
- "arm64"
10
- ],
11
- "main": "index.js",
12
- "files": [
13
- "bin",
14
- "index.js"
15
- ],
16
- "homepage": "https://docs.highflame.ai/",
17
- "keywords": [
18
- "overwatch",
19
- "security",
20
- "windows",
21
- "arm64"
22
- ],
23
- "author": "Highflame AI",
24
- "license": "MIT",
25
- "engines": {
26
- "node": ">=18.0.0"
27
- }
28
- }
1
+ {
2
+ "name": "@highflame/overwatch-win32-arm64",
3
+ "version": "v2.0.6",
4
+ "description": "Platform-specific binaries for @highflame/overwatch (Windows ARM64)",
5
+ "os": [
6
+ "win32"
7
+ ],
8
+ "cpu": [
9
+ "arm64"
10
+ ],
11
+ "main": "index.js",
12
+ "files": [
13
+ "bin",
14
+ "index.js"
15
+ ],
16
+ "homepage": "https://docs.highflame.ai/",
17
+ "keywords": [
18
+ "overwatch",
19
+ "security",
20
+ "windows",
21
+ "arm64"
22
+ ],
23
+ "author": "Highflame AI",
24
+ "license": "MIT",
25
+ "engines": {
26
+ "node": ">=18.0.0"
27
+ }
28
+ }