Skip to content

Commit

Permalink
Add %LocalAppData%\Yarn\.bin to PATH as part of installation (yarnpkg…
Browse files Browse the repository at this point in the history
…#1129)

* Add %LocalAppData%\Yarn\.bin to PATH as part of installation

* Add LocalAppData path to user environment rather than system environment
  • Loading branch information
Daniel15 authored Oct 17, 2016
1 parent de29ce0 commit c091ac4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions resources/winsetup/Yarn.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@
Action="set"
System="yes"
/>
<Environment
Id="BinPath"
Name="PATH"
Value="[LocalAppDataFolder]Yarn\.bin"
Permanent="no"
Part="last"
Action="set"
System="no"
/>
</Component>
</DirectoryRef>

Expand Down

0 comments on commit c091ac4

Please sign in to comment.