This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
windows/msi: add node.js prompt to startmenu
- Loading branch information
1 parent
04e484c
commit 0143240
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
@echo off | ||
@rem Process arguments. | ||
set target_arch=x86 | ||
|
||
:next-arg | ||
if "%1"=="" goto args-done | ||
if /i "%1"=="x86" set target_arch=x86&goto arg-ok | ||
if /i "%1"=="x64" set target_arch=x64&goto arg-ok | ||
|
||
echo Warning: ignoring invalid command line option `%1`. | ||
|
||
:arg-ok | ||
shift | ||
goto next-arg | ||
:args-done | ||
|
||
@rem Ensure this Node.js is first in the PATH | ||
echo Your environment has been set up for using Node.js (%target_arch%) and NPM | ||
set PATH=%~dp0;%PATH% |