loupeteam / LPM

Loupe Package Manager provides a command line interface for installing packages in Automation Studio and Loupe UX-based projects
Other
1 stars 1 forks source link

Duplicate entries in PATH environment variable #4

Open AndrewMusser opened 10 months ago

AndrewMusser commented 10 months ago

Describe the bug

Each time lpm-setup.exe is run, it adds an entry to the SYSTEM environment variable called PATH that points back to the location of lpm.cmd. Is the setup is run multiple times, duplicate entries are created in the PATH variable.

To reproduce

Run the lpm-setup.exe installer multiple times.

Expected behavior

The installer should check for an existing entry, and not add a new one if it already exists.

Additional information

Priority: High Happens on v1.0.3 (and all prior).