Skip to content

Commit

Permalink
Merge pull request #149 from xrgzs/fix/pecmd-var
Browse files Browse the repository at this point in the history
fix: not PECMD var
  • Loading branch information
Cnotech authored Feb 9, 2025
2 parents a4f320d + 6af2cad commit 631346f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/producers/Recursive_Unzip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,13 @@ LINK X:\\Users\\Default\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Progr
if (obj.addPath) {
wcsScript += `
REGI HKCU\\Environment\\\\Path,UserPath
ENVI #Path=%&UserPath%;%ProgramFiles%\\Edgeless\\${p.taskName}
ENVI #Path=%UserPath%;%ProgramFiles%\\Edgeless\\${p.taskName}
`;
}
if (obj.addMachinePath) {
wcsScript += `
REGI HKLM\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Environment\\\\Path,MachinePath
ENVI $Path=%&MachinePath%;%ProgramFiles%\\Edgeless\\${p.taskName}
ENVI $Path=%MachinePath%;%ProgramFiles%\\Edgeless\\${p.taskName}
`;
}
if (obj.addAppPath) {
Expand Down

0 comments on commit 631346f

Please sign in to comment.