Skip to content

Commit

Permalink
Update Build/Build.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Jonas Nyrup <jnyrup@users.noreply.github.com>
  • Loading branch information
IT-VBFK and jnyrup committed Jan 6, 2023
1 parent 31be653 commit 8c5334e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Build/Build.cs
Expand Up @@ -50,13 +50,16 @@ class Build : NukeBuild

#if OS_WINDOWS
const string NodeFramework = "win-x64";
const string NodeExecutable = "node.exe";
#elif OS_MAC
const string NodeFramework = "osx-x64";
const string NodeExecutable = "node";
#else
const string NodeFramework = "linux-x64";
const string NodeExecutable = "node";
#endif

[PackageExecutable("Node.js.redist", "node", Version = "16.17.1", Framework = NodeFramework)]
[PackageExecutable("Node.js.redist", NodeExecutable, Version = "16.17.1", Framework = NodeFramework)]
Tool Node;

AbsolutePath ArtifactsDirectory => RootDirectory / "Artifacts";
Expand Down

0 comments on commit 8c5334e

Please sign in to comment.